tool-calling / opencode /tool_inventory.json
jedisct1's picture
Add tool-calling harness dataset
bd43184 verified
Raw
History Blame Contribute Delete
3.26 kB
{
"source": "opencode docs plus local @opencode-ai/plugin SDK types",
"harness": "bunx opencode-ai@latest run --model qwen35/qwen35 --format json",
"config": "/private/tmp/callers/configs/opencode-qwen35.json",
"tools": [
{
"name": "bash",
"description": "Execute shell commands in the project environment.",
"required": [
"command"
],
"properties": [
"command",
"description",
"timeout"
]
},
{
"name": "read",
"description": "Read file contents, optionally with a line range.",
"required": [
"filePath"
],
"properties": [
"filePath",
"offset",
"limit"
]
},
{
"name": "edit",
"description": "Modify an existing file using exact string replacement.",
"required": [
"filePath",
"oldString",
"newString"
],
"properties": [
"filePath",
"oldString",
"newString",
"replaceAll"
]
},
{
"name": "write",
"description": "Create a new file or overwrite an existing one.",
"required": [
"filePath",
"content"
],
"properties": [
"filePath",
"content"
]
},
{
"name": "grep",
"description": "Search file contents with a regular expression.",
"required": [
"pattern"
],
"properties": [
"pattern",
"path",
"include"
]
},
{
"name": "glob",
"description": "Find files by glob pattern.",
"required": [
"pattern"
],
"properties": [
"pattern",
"path"
]
},
{
"name": "lsp",
"description": "Use language-server code intelligence.",
"required": [
"operation"
],
"properties": [
"operation",
"filePath",
"line",
"character",
"symbol"
]
},
{
"name": "apply_patch",
"description": "Apply a patch with paths embedded in patch marker lines.",
"required": [
"patchText"
],
"properties": [
"patchText"
]
},
{
"name": "skill",
"description": "Load a SKILL.md instruction file.",
"required": [
"name"
],
"properties": [
"name"
]
},
{
"name": "todowrite",
"description": "Create or update the coding-session todo list.",
"required": [
"todos"
],
"properties": [
"todos"
]
},
{
"name": "webfetch",
"description": "Fetch and read a web page.",
"required": [
"url"
],
"properties": [
"url",
"prompt"
]
},
{
"name": "websearch",
"description": "Search the web when enabled by provider or EXA config.",
"required": [
"query"
],
"properties": [
"query"
]
},
{
"name": "task",
"description": "Run a subtask with another agent.",
"required": [
"description",
"prompt"
],
"properties": [
"description",
"prompt",
"subagent_type"
]
}
]
}