aboutsummaryrefslogtreecommitdiff
path: root/opencode/scripts/test-hello-tool.sh
diff options
context:
space:
mode:
Diffstat (limited to 'opencode/scripts/test-hello-tool.sh')
-rwxr-xr-xopencode/scripts/test-hello-tool.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/opencode/scripts/test-hello-tool.sh b/opencode/scripts/test-hello-tool.sh
new file mode 100755
index 0000000..d51c621
--- /dev/null
+++ b/opencode/scripts/test-hello-tool.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+export OPENCODE_CONFIG_DIR="/home/rahm/Projects/hobs.nvim/opencode"
+
+opencode run 'You are testing a custom OpenCode tool. Use the live_read tool to retrieve and print the contents of the current neovim buffer.'
+# opencode run 'You are testing a custom OpenCode tool. Look for interesting files in the repo and call the files_of_intrigue tool to document them.'
+# opencode run 'You are testing a custom OpenCode tool. You MUST call the hello tool exactly once with the name "Josh". After the tool returns, reply with exactly the tool result and nothing else.'