Datasets:
Download data/tools_catalog.json from CrowdMind/sft-mix-trace: direct link, hf CLI and curl.
- Browser
- Download file 91.1 kB
-
https://huggingface.co/datasets/CrowdMind/sft-mix-trace/resolve/main/data/tools_catalog.json
- Command line
-
hf download hf://datasets/CrowdMind/sft-mix-trace/data/tools_catalog.json
-
curl -L -o tools_catalog.json https://huggingface.co/datasets/CrowdMind/sft-mix-trace/resolve/main/data/tools_catalog.json
91.1 kB
| { | |
| "Agent": { | |
| "function": { | |
| "description": "Called as `Agent` in the source traces. Argument names and types are inferred from the calls observed in this corpus; this harness publishes no schema.", | |
| "name": "Agent", | |
| "parameters": { | |
| "properties": { | |
| "description": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "prompt": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "run_in_background": { | |
| "description": "as observed in the source traces", | |
| "type": "boolean" | |
| }, | |
| "subagent_type": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "description", | |
| "prompt" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "AskUserQuestion": { | |
| "function": { | |
| "description": "Ask the user a question and wait for the answer.", | |
| "name": "AskUserQuestion", | |
| "parameters": { | |
| "properties": { | |
| "questions": { | |
| "description": "as observed in the source traces", | |
| "type": "array" | |
| } | |
| }, | |
| "required": [ | |
| "questions" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "Bash": { | |
| "function": { | |
| "description": "Run a shell command in the session's working directory.", | |
| "name": "Bash", | |
| "parameters": { | |
| "properties": { | |
| "command": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "dangerouslyDisableSandbox": { | |
| "description": "as observed in the source traces", | |
| "type": "boolean" | |
| }, | |
| "description": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "run_in_background": { | |
| "description": "as observed in the source traces", | |
| "type": "boolean" | |
| }, | |
| "timeout": { | |
| "description": "as observed in the source traces", | |
| "type": "integer" | |
| } | |
| }, | |
| "required": [ | |
| "command" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "Edit": { | |
| "function": { | |
| "description": "Replace an exact string in a file.", | |
| "name": "Edit", | |
| "parameters": { | |
| "properties": { | |
| "file_path": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "new_string": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "old_string": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "replace_all": { | |
| "description": "as observed in the source traces", | |
| "type": "boolean" | |
| } | |
| }, | |
| "required": [ | |
| "replace_all", | |
| "file_path", | |
| "old_string", | |
| "new_string" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "EnterPlanMode": { | |
| "function": { | |
| "description": "Switch into plan mode, where no file is edited until approved.", | |
| "name": "EnterPlanMode", | |
| "parameters": { | |
| "properties": {}, | |
| "required": [], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "ExitPlanMode": { | |
| "function": { | |
| "description": "Leave plan mode and present the plan for approval.", | |
| "name": "ExitPlanMode", | |
| "parameters": { | |
| "properties": { | |
| "allowedPrompts": { | |
| "description": "as observed in the source traces", | |
| "type": "array" | |
| }, | |
| "plan": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "planFilePath": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "plan", | |
| "planFilePath" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "Monitor": { | |
| "function": { | |
| "description": "Called as `Monitor` in the source traces. Argument names and types are inferred from the calls observed in this corpus; this harness publishes no schema.", | |
| "name": "Monitor", | |
| "parameters": { | |
| "properties": { | |
| "command": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "description": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "persistent": { | |
| "description": "as observed in the source traces", | |
| "type": "boolean" | |
| }, | |
| "timeout": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "timeout_ms": { | |
| "description": "as observed in the source traces", | |
| "type": "integer" | |
| }, | |
| "until": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "Read": { | |
| "function": { | |
| "description": "Read a file from the filesystem.", | |
| "name": "Read", | |
| "parameters": { | |
| "properties": { | |
| "file_path": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "limit": { | |
| "description": "as observed in the source traces", | |
| "type": "integer" | |
| }, | |
| "offset": { | |
| "description": "as observed in the source traces", | |
| "type": "integer" | |
| } | |
| }, | |
| "required": [ | |
| "file_path" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "RefreshMcpTools": { | |
| "function": { | |
| "description": "Refresh the list of tools exposed by MCP servers.", | |
| "name": "RefreshMcpTools", | |
| "parameters": { | |
| "properties": { | |
| "server": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "server" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "ScheduleWakeup": { | |
| "function": { | |
| "description": "Called as `ScheduleWakeup` in the source traces. Argument names and types are inferred from the calls observed in this corpus; this harness publishes no schema.", | |
| "name": "ScheduleWakeup", | |
| "parameters": { | |
| "properties": { | |
| "delaySeconds": { | |
| "description": "as observed in the source traces", | |
| "type": "integer" | |
| }, | |
| "prompt": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "reason": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "delaySeconds", | |
| "reason", | |
| "prompt" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "SendUserFile": { | |
| "function": { | |
| "description": "Send a file to the user.", | |
| "name": "SendUserFile", | |
| "parameters": { | |
| "properties": { | |
| "caption": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "files": { | |
| "description": "as observed in the source traces", | |
| "type": "array" | |
| }, | |
| "status": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "files", | |
| "caption", | |
| "status" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "Skill": { | |
| "function": { | |
| "description": "Invoke a named skill.", | |
| "name": "Skill", | |
| "parameters": { | |
| "properties": { | |
| "args": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "skill": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "skill", | |
| "args" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "StructuredOutput": { | |
| "function": { | |
| "description": "Called as `StructuredOutput` in the source traces. Argument names and types are inferred from the calls observed in this corpus; this harness publishes no schema.", | |
| "name": "StructuredOutput", | |
| "parameters": { | |
| "properties": { | |
| "findings": { | |
| "description": "as observed in the source traces", | |
| "type": "array" | |
| } | |
| }, | |
| "required": [ | |
| "findings" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "TaskCreate": { | |
| "function": { | |
| "description": "Called as `TaskCreate` in the source traces. Argument names and types are inferred from the calls observed in this corpus; this harness publishes no schema.", | |
| "name": "TaskCreate", | |
| "parameters": { | |
| "properties": { | |
| "activeForm": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "description": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "prompt": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "subject": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "title": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "TaskList": { | |
| "function": { | |
| "description": "Called as `TaskList` in the source traces. Argument names and types are inferred from the calls observed in this corpus; this harness publishes no schema.", | |
| "name": "TaskList", | |
| "parameters": { | |
| "properties": {}, | |
| "required": [], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "TaskOutput": { | |
| "function": { | |
| "description": "Called as `TaskOutput` in the source traces. Argument names and types are inferred from the calls observed in this corpus; this harness publishes no schema.", | |
| "name": "TaskOutput", | |
| "parameters": { | |
| "properties": { | |
| "block": { | |
| "description": "as observed in the source traces", | |
| "type": "boolean" | |
| }, | |
| "task_id": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "timeout": { | |
| "description": "as observed in the source traces", | |
| "type": "integer" | |
| } | |
| }, | |
| "required": [ | |
| "task_id", | |
| "block", | |
| "timeout" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "TaskStop": { | |
| "function": { | |
| "description": "Called as `TaskStop` in the source traces. Argument names and types are inferred from the calls observed in this corpus; this harness publishes no schema.", | |
| "name": "TaskStop", | |
| "parameters": { | |
| "properties": { | |
| "task_id": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "task_id" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "TaskUpdate": { | |
| "function": { | |
| "description": "Called as `TaskUpdate` in the source traces. Argument names and types are inferred from the calls observed in this corpus; this harness publishes no schema.", | |
| "name": "TaskUpdate", | |
| "parameters": { | |
| "properties": { | |
| "status": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "taskId": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "taskId", | |
| "status" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "ToolSearch": { | |
| "function": { | |
| "description": "Search the list of available tools by name and description.", | |
| "name": "ToolSearch", | |
| "parameters": { | |
| "properties": { | |
| "max_results": { | |
| "description": "as observed in the source traces", | |
| "type": "integer" | |
| }, | |
| "query": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "query" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "WebFetch": { | |
| "function": { | |
| "description": "Fetch a URL and answer a prompt against what it returns.", | |
| "name": "WebFetch", | |
| "parameters": { | |
| "properties": { | |
| "prompt": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "url": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "url", | |
| "prompt" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "WebSearch": { | |
| "function": { | |
| "description": "Search the web and return a list of results.", | |
| "name": "WebSearch", | |
| "parameters": { | |
| "properties": { | |
| "query": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "query" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "Workflow": { | |
| "function": { | |
| "description": "Called as `Workflow` in the source traces. Argument names and types are inferred from the calls observed in this corpus; this harness publishes no schema.", | |
| "name": "Workflow", | |
| "parameters": { | |
| "properties": { | |
| "agent": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "description": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "files": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "goal": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "max_tokens": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "mode": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "model": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "parameters": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "plan": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "prompt": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "reasoning": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "script": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "scriptPath": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "stop": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "temperature": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "Write": { | |
| "function": { | |
| "description": "Write a file, creating or overwriting it.", | |
| "name": "Write", | |
| "parameters": { | |
| "properties": { | |
| "content": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "file_path": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "file_path", | |
| "content" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "aider": { | |
| "menu": "webdialect:aider", | |
| "tools": [ | |
| { | |
| "function": { | |
| "description": "Read a file from the workspace.", | |
| "name": "read_file", | |
| "parameters": { | |
| "properties": { | |
| "path": { | |
| "description": "path of the file", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "path" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Run a shell command in the workspace.", | |
| "name": "run_shell_cmd", | |
| "parameters": { | |
| "properties": { | |
| "command": { | |
| "description": "the command to run", | |
| "type": "string" | |
| }, | |
| "timeout": { | |
| "description": "seconds before the command is killed", | |
| "type": "integer" | |
| } | |
| }, | |
| "required": [ | |
| "command" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Search the workspace for a pattern.", | |
| "name": "grep", | |
| "parameters": { | |
| "properties": { | |
| "glob": { | |
| "description": "glob to filter, e.g. \"*.py\"", | |
| "type": "string" | |
| }, | |
| "path": { | |
| "description": "root to search below", | |
| "type": "string" | |
| }, | |
| "pattern": { | |
| "description": "the pattern to search for", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "pattern", | |
| "path" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| } | |
| ] | |
| }, | |
| "bash": { | |
| "function": { | |
| "description": "Run a shell command in the session's working directory.", | |
| "name": "bash", | |
| "parameters": { | |
| "properties": { | |
| "command": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "content": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "edits": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "path": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "timeout": { | |
| "description": "as observed in the source traces", | |
| "type": "integer" | |
| } | |
| }, | |
| "required": [ | |
| "command" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "claude": { | |
| "menu": "harness:claude", | |
| "tools": [ | |
| { | |
| "function": { | |
| "description": "Search the web. The domain filters are mutually exclusive.", | |
| "name": "WebSearch", | |
| "parameters": { | |
| "properties": { | |
| "allowed_domains": { | |
| "description": "restrict results to these domains; mutually exclusive with blocked_domains", | |
| "type": "array" | |
| }, | |
| "blocked_domains": { | |
| "description": "exclude these domains; mutually exclusive with allowed_domains", | |
| "type": "array" | |
| }, | |
| "query": { | |
| "description": "the search query", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "query" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Fetch a page and return only what the prompt asks for. The prompt is the filter: a lossy fetch that keeps the answerable part and drops the rest.", | |
| "name": "WebFetch", | |
| "parameters": { | |
| "properties": { | |
| "prompt": { | |
| "description": "what to pull out of the page, in natural language", | |
| "type": "string" | |
| }, | |
| "url": { | |
| "description": "the absolute url of the page", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "url", | |
| "prompt" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| } | |
| ] | |
| }, | |
| "cline": { | |
| "menu": "webdialect:cline", | |
| "tools": [ | |
| { | |
| "function": { | |
| "description": "Fetch a page on the web and return its text. The runtime renamed this tool.", | |
| "name": "fetch_web", | |
| "parameters": { | |
| "properties": { | |
| "request_id": { | |
| "description": "id to correlate the response with", | |
| "type": "string" | |
| }, | |
| "url": { | |
| "description": "the absolute url of the page", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "url" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| } | |
| ] | |
| }, | |
| "code-review": { | |
| "function": { | |
| "description": "Called as `code-review` in the source traces. Argument names and types are inferred from the calls observed in this corpus; this harness publishes no schema.", | |
| "name": "code-review", | |
| "parameters": { | |
| "properties": { | |
| "comment": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "comment" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "codex": { | |
| "menu": "harness:codex", | |
| "tools": [ | |
| { | |
| "function": { | |
| "description": "Search the web.", | |
| "name": "web_search", | |
| "parameters": { | |
| "properties": { | |
| "domains": { | |
| "description": "restrict results to these domains", | |
| "type": "array" | |
| }, | |
| "query": { | |
| "description": "the search query", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "query" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Open a page and return its rendered content.", | |
| "name": "open_page", | |
| "parameters": { | |
| "properties": { | |
| "url": { | |
| "description": "the absolute url of the page", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "url" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Find a pattern in an already opened page and return the surrounding matches.", | |
| "name": "find_in_page", | |
| "parameters": { | |
| "properties": { | |
| "pattern": { | |
| "description": "the text to look for", | |
| "type": "string" | |
| }, | |
| "url": { | |
| "description": "the absolute url of the page", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "url", | |
| "pattern" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Run a shell command. There is no fetch tool in this harness: a page is read with curl through the shell.", | |
| "name": "shell", | |
| "parameters": { | |
| "properties": { | |
| "command": { | |
| "description": "the command to run", | |
| "type": "array" | |
| }, | |
| "timeout_ms": { | |
| "description": "milliseconds before the command is killed", | |
| "type": "integer" | |
| }, | |
| "workdir": { | |
| "description": "directory to run in", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "command" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| } | |
| ] | |
| }, | |
| "crush": { | |
| "menu": "webdialect:crush", | |
| "tools": [ | |
| { | |
| "function": { | |
| "description": "Run a shell command. This harness ships no web tool; web access arrives by adding an MCP server.", | |
| "name": "bash", | |
| "parameters": { | |
| "properties": { | |
| "command": { | |
| "description": "the command line to run", | |
| "type": "string" | |
| }, | |
| "timeout": { | |
| "description": "milliseconds before the command is killed", | |
| "type": "integer" | |
| } | |
| }, | |
| "required": [ | |
| "command" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Search the workspace for a pattern.", | |
| "name": "grep", | |
| "parameters": { | |
| "properties": { | |
| "glob": { | |
| "description": "glob to filter, e.g. \"*.py\"", | |
| "type": "string" | |
| }, | |
| "path": { | |
| "description": "root to search below", | |
| "type": "string" | |
| }, | |
| "pattern": { | |
| "description": "the pattern to search for", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "pattern", | |
| "path" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "View a file in the workspace.", | |
| "name": "view", | |
| "parameters": { | |
| "properties": { | |
| "path": { | |
| "description": "path of the file", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "path" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| } | |
| ] | |
| }, | |
| "deepseek": { | |
| "menu": "harness:deepseek", | |
| "tools": [ | |
| { | |
| "function": { | |
| "description": "Search the web. Declared by hand on an OpenAI-compatible surface, so under strict mode every property is required.", | |
| "name": "web_search", | |
| "parameters": { | |
| "properties": { | |
| "num_results": { | |
| "description": "how many results to return", | |
| "type": "integer" | |
| }, | |
| "query": { | |
| "description": "the search query", | |
| "type": "string" | |
| }, | |
| "recency": { | |
| "description": "restrict to recent results", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "query" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Fetch a page and answer the instruction against it. The url is an argument and the instruction says what to return. Declared by hand on an OpenAI-compatible surface, so under strict mode every property is required.", | |
| "name": "web_fetch", | |
| "parameters": { | |
| "properties": { | |
| "instruction": { | |
| "description": "what to pull out of the page, in natural language", | |
| "type": "string" | |
| }, | |
| "url": { | |
| "description": "the absolute url of the page", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "url", | |
| "instruction" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| } | |
| ] | |
| }, | |
| "edit": { | |
| "function": { | |
| "description": "Replace an exact string in a file.", | |
| "name": "edit", | |
| "parameters": { | |
| "properties": { | |
| "command": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "content": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "edits": { | |
| "description": "as observed in the source traces", | |
| "type": "array" | |
| }, | |
| "oldText": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "path": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "timeout": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "execute_bash": { | |
| "function": { | |
| "description": "Execute a bash command in the terminal within a persistent shell session.\n\n\n### Command Execution\n* One command at a time: You can only execute one bash command at a time. If you need to run multiple commands sequentially, use `&&` or `;` to chain them together.\n* Persistent session: Commands execute in a persistent shell session where environment variables, virtual environments, and working directory persist between commands.\n* Soft timeout: Commands have a soft timeout of 10 seconds, once that's reached, you have the option to continue or interrupt the command (see section below for details)\n\n### Long-running Commands\n* For commands that may run indefinitely, run them in the background and redirect output to a file, e.g. `python3 app.py > server.log 2>&1 &`.\n* For commands that may run for a long time (e.g. installation or testing commands), or commands that run for a fixed amount of time (e.g. sleep), you should set the \"timeout\" parameter of your function call to an appropriate value.\n* If a bash command returns exit code `-1`, this means the process hit the soft timeout and is not yet finished. By setting `is_input` to `true`, you can:\n - Send empty `command` to retrieve additional logs\n - Send text (set `command` to the text) to STDIN of the running process\n - Send control commands like `C-c` (Ctrl+C), `C-d` (Ctrl+D), or `C-z` (Ctrl+Z) to interrupt the process\n - If you do C-c, you can re-start the process with a longer \"timeout\" parameter to let it run to completion\n\n### Best Practices\n* Directory verification: Before creating new directories or files, first verify the parent directory exists and is the correct location.\n* Directory management: Try to maintain working directory by using absolute paths and avoiding excessive use of `cd`.\n\n### Output Handling\n* Output truncation: If the output exceeds a maximum length, it will be truncated before being returned.\n", | |
| "name": "execute_bash", | |
| "parameters": { | |
| "properties": { | |
| "command": { | |
| "description": "The bash command to execute. Can be empty string to view additional logs when previous exit code is `-1`. Can be `C-c` (Ctrl+C) to interrupt the currently running process. Note: You can only execute one bash command at a time. If you need to run multiple commands sequentially, you can use `&&` or `;` to chain them together.", | |
| "type": "string" | |
| }, | |
| "is_input": { | |
| "description": "If True, the command is an input to the running process. If False, the command is a bash command to be executed in the terminal. Default is False.", | |
| "enum": [ | |
| "true", | |
| "false" | |
| ], | |
| "type": "string" | |
| }, | |
| "timeout": { | |
| "description": "Optional. Sets a hard timeout in seconds for the command execution. If not provided, the command will use the default soft timeout behavior.", | |
| "type": "number" | |
| } | |
| }, | |
| "required": [ | |
| "command" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "finish": { | |
| "function": { | |
| "description": "Signals the completion of the current task or conversation.\n\nUse this tool when:\n- You have successfully completed the user's requested task\n- You cannot proceed further due to technical limitations or missing information\n\nThe message should include:\n- A clear summary of actions taken and their results\n- Any next steps for the user\n- Explanation if you're unable to complete the task\n- Any follow-up questions if more information is needed\n", | |
| "name": "finish", | |
| "parameters": { | |
| "properties": { | |
| "message": { | |
| "description": "Final message to send to the user", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "message" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "gemini cli": { | |
| "menu": "webdialect:gemini", | |
| "tools": [ | |
| { | |
| "function": { | |
| "description": "Search the web.", | |
| "name": "google_web_search", | |
| "parameters": { | |
| "properties": { | |
| "query": { | |
| "description": "the search query", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "query" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Fetch pages and answer a prompt about them. The url is not an argument: it lives inside the prompt, along with the instructions, and up to twenty may share one call.", | |
| "name": "web_fetch", | |
| "parameters": { | |
| "properties": { | |
| "prompt": { | |
| "description": "the urls and what to pull out of them", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "prompt" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Ask the user a question when the request is ambiguous.", | |
| "name": "ask_user", | |
| "parameters": { | |
| "properties": { | |
| "question": { | |
| "description": "the question to put to the user", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "question" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| } | |
| ] | |
| }, | |
| "get": { | |
| "function": { | |
| "description": "Called as `get` in the source traces. Argument names and types are inferred from the calls observed in this corpus; this harness publishes no schema.", | |
| "name": "get", | |
| "parameters": { | |
| "properties": { | |
| "session_id": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "turn_uuid": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "session_id", | |
| "turn_uuid" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "goose": { | |
| "menu": "webdialect:goose", | |
| "tools": [ | |
| { | |
| "function": { | |
| "description": "Run a shell command. Namespaced by the extension that supplies it.", | |
| "name": "developer__shell", | |
| "parameters": { | |
| "properties": { | |
| "command": { | |
| "description": "the command to run", | |
| "type": "string" | |
| }, | |
| "timeout": { | |
| "description": "seconds before the command is killed", | |
| "type": "integer" | |
| } | |
| }, | |
| "required": [ | |
| "command" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "View or edit a file in the workspace.", | |
| "name": "developer__text_editor", | |
| "parameters": { | |
| "properties": { | |
| "command": { | |
| "description": "view or str_replace", | |
| "type": "string" | |
| }, | |
| "new_str": { | |
| "description": "replacement text, for str_replace", | |
| "type": "string" | |
| }, | |
| "old_str": { | |
| "description": "text to replace, for str_replace", | |
| "type": "string" | |
| }, | |
| "path": { | |
| "description": "path of the file", | |
| "type": "string" | |
| }, | |
| "view_range": { | |
| "description": "two-element [start, end] line range to view", | |
| "type": "array" | |
| } | |
| }, | |
| "required": [ | |
| "command", | |
| "path" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Fetch a page. Namespaced by the web extension, which is a separate extension.", | |
| "name": "fetch__fetch", | |
| "parameters": { | |
| "properties": { | |
| "max_length": { | |
| "description": "maximum characters to return", | |
| "type": "integer" | |
| }, | |
| "url": { | |
| "description": "the absolute url of the page", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "url" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| } | |
| ] | |
| }, | |
| "mcp__Hugging_Face__hf_fs": { | |
| "function": { | |
| "description": "Tool `hf_fs` exposed by the `Hugging_Face` MCP server. Argument names and types are inferred from observed calls.", | |
| "name": "mcp__Hugging_Face__hf_fs", | |
| "parameters": { | |
| "properties": { | |
| "args": { | |
| "description": "as observed in the source traces", | |
| "type": "array" | |
| }, | |
| "cmd": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "cmd", | |
| "args" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "mcp__context7__query-docs": { | |
| "function": { | |
| "description": "Tool `query-docs` exposed by the `context7` MCP server. Argument names and types are inferred from observed calls.", | |
| "name": "mcp__context7__query-docs", | |
| "parameters": { | |
| "properties": { | |
| "libraryId": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "query": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "libraryId", | |
| "query" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "mcp__context7__resolve-library-id": { | |
| "function": { | |
| "description": "Tool `resolve-library-id` exposed by the `context7` MCP server. Argument names and types are inferred from observed calls.", | |
| "name": "mcp__context7__resolve-library-id", | |
| "parameters": { | |
| "properties": { | |
| "libraryName": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "query": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "query", | |
| "libraryName" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "mt_tools": { | |
| "menu": "mt_tools", | |
| "tools": [ | |
| { | |
| "function": { | |
| "description": "Evaluate an arithmetic expression and return the number.", | |
| "name": "calculator", | |
| "parameters": { | |
| "properties": { | |
| "expression": { | |
| "description": "the arithmetic expression to evaluate", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "expression" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Search the internal knowledge base.", | |
| "name": "search_docs", | |
| "parameters": { | |
| "properties": { | |
| "query": { | |
| "description": "what to look for, naming the thing and the question about it", | |
| "type": "string" | |
| }, | |
| "top_k": { | |
| "description": "how many documents to return", | |
| "type": "integer" | |
| } | |
| }, | |
| "required": [ | |
| "query" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Fetch a page on the public web and return its text.", | |
| "name": "fetch_page", | |
| "parameters": { | |
| "properties": { | |
| "url": { | |
| "description": "the absolute url of the page to fetch", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "url" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Read a file from internal storage and return its contents.", | |
| "name": "read_file", | |
| "parameters": { | |
| "properties": { | |
| "path": { | |
| "description": "absolute path of the file", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "path" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "List the files in a directory on internal storage.", | |
| "name": "list_directory", | |
| "parameters": { | |
| "properties": { | |
| "path": { | |
| "description": "absolute path of the directory", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "path" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Write a file to internal storage, creating or overwriting it.", | |
| "name": "write_file", | |
| "parameters": { | |
| "properties": { | |
| "contents": { | |
| "description": "the full text to write", | |
| "type": "string" | |
| }, | |
| "path": { | |
| "description": "absolute path of the file", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "path", | |
| "contents" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Add an entry to the shared calendar.", | |
| "name": "create_calendar_event", | |
| "parameters": { | |
| "properties": { | |
| "duration_minutes": { | |
| "description": "length in minutes", | |
| "type": "integer" | |
| }, | |
| "start": { | |
| "description": "start time, ISO 8601, with Z if UTC", | |
| "type": "string" | |
| }, | |
| "title": { | |
| "description": "title of the entry", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "title", | |
| "start", | |
| "duration_minutes" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| } | |
| ] | |
| }, | |
| "mt_tools_ml": { | |
| "menu": "mt_tools_ml", | |
| "tools": [ | |
| { | |
| "function": { | |
| "description": "Evaluate an arithmetic expression and return the number.", | |
| "name": "calculator", | |
| "parameters": { | |
| "properties": { | |
| "expression": { | |
| "description": "the arithmetic expression to evaluate", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "expression" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Search the internal knowledge base.", | |
| "name": "search_docs", | |
| "parameters": { | |
| "properties": { | |
| "query": { | |
| "description": "what to look for, naming the thing and the question about it", | |
| "type": "string" | |
| }, | |
| "top_k": { | |
| "description": "how many documents to return", | |
| "type": "integer" | |
| } | |
| }, | |
| "required": [ | |
| "query" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Fetch a page on the public web and return its text.", | |
| "name": "fetch_page", | |
| "parameters": { | |
| "properties": { | |
| "url": { | |
| "description": "the absolute url of the page to fetch", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "url" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Read a file from internal storage and return its contents.", | |
| "name": "read_file", | |
| "parameters": { | |
| "properties": { | |
| "path": { | |
| "description": "absolute path of the file", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "path" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Write a file to internal storage, creating or overwriting it.", | |
| "name": "write_file", | |
| "parameters": { | |
| "properties": { | |
| "contents": { | |
| "description": "the full text to write", | |
| "type": "string" | |
| }, | |
| "path": { | |
| "description": "absolute path of the file", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "path", | |
| "contents" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Send an email. Runs as the account holder, so nothing confidential goes in it.", | |
| "name": "send_email", | |
| "parameters": { | |
| "properties": { | |
| "body": { | |
| "description": "the message body", | |
| "type": "string" | |
| }, | |
| "subject": { | |
| "description": "subject line", | |
| "type": "string" | |
| }, | |
| "to": { | |
| "description": "recipient address", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "to", | |
| "subject", | |
| "body" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Add an entry to the shared calendar.", | |
| "name": "create_calendar_event", | |
| "parameters": { | |
| "properties": { | |
| "duration_minutes": { | |
| "description": "length in minutes", | |
| "type": "integer" | |
| }, | |
| "start": { | |
| "description": "start time, ISO 8601, with Z if UTC", | |
| "type": "string" | |
| }, | |
| "title": { | |
| "description": "title of the entry", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "title", | |
| "start", | |
| "duration_minutes" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| } | |
| ] | |
| }, | |
| "ollama": { | |
| "menu": "harness:ollama", | |
| "tools": [ | |
| { | |
| "function": { | |
| "description": "Search the web.", | |
| "name": "web_search", | |
| "parameters": { | |
| "properties": { | |
| "max_results": { | |
| "description": "how many results to return", | |
| "type": "integer" | |
| }, | |
| "query": { | |
| "description": "the search query", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "query" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Fetch a page and return its text. Results carry content rather than a snippet, and the host stringifies the result into one tool message.", | |
| "name": "web_fetch", | |
| "parameters": { | |
| "properties": { | |
| "url": { | |
| "description": "the absolute url of the page", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "url" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| } | |
| ] | |
| }, | |
| "opencode": { | |
| "menu": "harness:opencode", | |
| "tools": [ | |
| { | |
| "function": { | |
| "description": "Search the web.", | |
| "name": "websearch", | |
| "parameters": { | |
| "properties": { | |
| "contextMaxCharacters": { | |
| "description": "maximum characters of context to return", | |
| "type": "integer" | |
| }, | |
| "livecrawl": { | |
| "description": "fallback uses the cache, preferred goes to the live page; one of fallback, preferred", | |
| "type": "string" | |
| }, | |
| "numResults": { | |
| "description": "how many results to return", | |
| "type": "integer" | |
| }, | |
| "query": { | |
| "description": "the search query", | |
| "type": "string" | |
| }, | |
| "type": { | |
| "description": "auto, fast or deep; one of auto, deep, fast", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "query" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Fetch a page and return it in the requested format.", | |
| "name": "webfetch", | |
| "parameters": { | |
| "properties": { | |
| "format": { | |
| "description": "text, markdown or html; markdown by default; one of html, markdown, text", | |
| "type": "string" | |
| }, | |
| "timeout": { | |
| "description": "seconds before the command is killed", | |
| "type": "integer" | |
| }, | |
| "url": { | |
| "description": "the absolute url of the page", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "url" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| } | |
| ] | |
| }, | |
| "openhands": { | |
| "menu": "webdialect:openhands", | |
| "tools": [ | |
| { | |
| "function": { | |
| "description": "Read a page and return its text. Behind a config flag, so the tool list can legitimately contain no way to reach the internet.", | |
| "name": "web_read", | |
| "parameters": { | |
| "properties": { | |
| "url": { | |
| "description": "the absolute url of the page", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "url" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Drive a headless browser.", | |
| "name": "browser", | |
| "parameters": { | |
| "properties": { | |
| "code": { | |
| "description": "the browser script to run", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Run a shell command in the container.", | |
| "name": "execute_bash", | |
| "parameters": { | |
| "properties": { | |
| "command": { | |
| "description": "the command to run", | |
| "type": "string" | |
| }, | |
| "cwd": { | |
| "description": "directory to run in", | |
| "type": "string" | |
| }, | |
| "timeout": { | |
| "description": "milliseconds before the command is killed", | |
| "type": "integer" | |
| } | |
| }, | |
| "required": [ | |
| "command" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| } | |
| ] | |
| }, | |
| "openwebui": { | |
| "menu": "harness:openwebui", | |
| "tools": [ | |
| { | |
| "function": { | |
| "description": "Search the web. Returns {title, link, snippet}; the key is link, not url.", | |
| "name": "search_web", | |
| "parameters": { | |
| "properties": { | |
| "count": { | |
| "description": "count", | |
| "type": "integer" | |
| }, | |
| "query": { | |
| "description": "the search query", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "query" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Fetch a page and return its plain text.", | |
| "name": "fetch_url", | |
| "parameters": { | |
| "properties": { | |
| "url": { | |
| "description": "the absolute url of the page", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "url" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Run a code block and return {status, stdout, stderr, result}.", | |
| "name": "execute_code", | |
| "parameters": { | |
| "properties": { | |
| "code": { | |
| "description": "code", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| } | |
| ] | |
| }, | |
| "pi": { | |
| "menu": "harness:pi", | |
| "tools": [ | |
| { | |
| "function": { | |
| "description": "Search the web. Output is stored against a responseId rather than returned, so get_search_content is a mandatory second call.", | |
| "name": "web_search", | |
| "parameters": { | |
| "properties": { | |
| "domainFilter": { | |
| "description": "site filters, with a leading - to exclude, e.g. \"-forum.example.test\"", | |
| "type": "array" | |
| }, | |
| "includeContent": { | |
| "description": "return page content rather than titles and urls only", | |
| "type": "boolean" | |
| }, | |
| "numResults": { | |
| "description": "how many results to return", | |
| "type": "integer" | |
| }, | |
| "queries": { | |
| "description": "several searches in one call", | |
| "type": "array" | |
| }, | |
| "query": { | |
| "description": "the search query", | |
| "type": "string" | |
| }, | |
| "recencyFilter": { | |
| "description": "restrict to a recent window: day, week, month or year; one of day, month, week, year", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Fetch one or more pages, either readable, raw, or answered against a prompt.", | |
| "name": "fetch_content", | |
| "parameters": { | |
| "properties": { | |
| "frames": { | |
| "description": "number of frames to sample, for animated pages", | |
| "type": "integer" | |
| }, | |
| "mode": { | |
| "description": "how to return the page: readable, raw or answer; one of answer, raw, readable", | |
| "type": "string" | |
| }, | |
| "prompt": { | |
| "description": "what to pull out of the page, in natural language", | |
| "type": "string" | |
| }, | |
| "timestamp": { | |
| "description": "page timestamp for the fetched view", | |
| "type": "string" | |
| }, | |
| "url": { | |
| "description": "the absolute url of the page", | |
| "type": "string" | |
| }, | |
| "urls": { | |
| "description": "the absolute urls of the pages", | |
| "type": "array" | |
| } | |
| }, | |
| "required": [ | |
| "url" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Read back part of a stored search response.", | |
| "name": "get_search_content", | |
| "parameters": { | |
| "properties": { | |
| "findText": { | |
| "description": "return only the regions containing this text", | |
| "type": "string" | |
| }, | |
| "limit": { | |
| "description": "maximum characters to return", | |
| "type": "integer" | |
| }, | |
| "offset": { | |
| "description": "character offset to start from", | |
| "type": "integer" | |
| }, | |
| "queryIndex": { | |
| "description": "index of the query within the stored response", | |
| "type": "integer" | |
| }, | |
| "responseId": { | |
| "description": "id of the stored search response", | |
| "type": "string" | |
| }, | |
| "urlIndex": { | |
| "description": "index of the url within the stored response", | |
| "type": "integer" | |
| } | |
| }, | |
| "required": [ | |
| "responseId" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| } | |
| ] | |
| }, | |
| "pydantic-ai": { | |
| "menu": "webdialect:pydantic_ai", | |
| "tools": [ | |
| { | |
| "function": { | |
| "description": "Search the web. Returns href and body rather than url and snippet.", | |
| "name": "duckduckgo_search", | |
| "parameters": { | |
| "properties": { | |
| "query": { | |
| "description": "the search query", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "query" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Fetch a page and return its text.", | |
| "name": "web_fetch", | |
| "parameters": { | |
| "properties": { | |
| "url": { | |
| "description": "the absolute url of the page", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "url" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| } | |
| ] | |
| }, | |
| "read": { | |
| "function": { | |
| "description": "Read a file from the filesystem.", | |
| "name": "read", | |
| "parameters": { | |
| "properties": { | |
| "command": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "limit": { | |
| "description": "as observed in the source traces", | |
| "type": "integer" | |
| }, | |
| "offset": { | |
| "description": "as observed in the source traces", | |
| "type": "integer" | |
| }, | |
| "path": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "path" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "recall": { | |
| "function": { | |
| "description": "Called as `recall` in the source traces. Argument names and types are inferred from the calls observed in this corpus; this harness publishes no schema.", | |
| "name": "recall", | |
| "parameters": { | |
| "properties": { | |
| "query": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "query" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "smolagents": { | |
| "menu": "webdialect:smolagents", | |
| "tools": [ | |
| { | |
| "function": { | |
| "description": "Search the web. One of several classes all named web_search; which one you were given decides the engine, the limits and the return type.", | |
| "name": "web_search", | |
| "parameters": { | |
| "properties": { | |
| "query": { | |
| "description": "the search query", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "query" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Visit a page and return its text.", | |
| "name": "visit_webpage", | |
| "parameters": { | |
| "properties": { | |
| "url": { | |
| "description": "the absolute url of the page", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "url" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Return the final answer and end the run.", | |
| "name": "final_answer", | |
| "parameters": { | |
| "properties": { | |
| "answer": { | |
| "description": "the answer to give the user", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "answer" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| } | |
| ] | |
| }, | |
| "str_replace_editor": { | |
| "function": { | |
| "description": "Custom editing tool for viewing, creating and editing files in plain-text format\n* State is persistent across command calls and discussions with the user\n* If `path` is a text file, `view` displays the result of applying `cat -n`. If `path` is a directory, `view` lists non-hidden files and directories up to 2 levels deep\n* The following binary file extensions can be viewed in Markdown format: [\".xlsx\", \".pptx\", \".wav\", \".mp3\", \".m4a\", \".flac\", \".pdf\", \".docx\"]. IT DOES NOT HANDLE IMAGES.\n* The `create` command cannot be used if the specified `path` already exists as a file\n* If a `command` generates a long output, it will be truncated and marked with `<response clipped>`\n* The `undo_edit` command will revert the last edit made to the file at `path`\n* This tool can be used for creating and editing files in plain-text format.\n\n\nBefore using this tool:\n1. Use the view tool to understand the file's contents and context\n2. Verify the directory path is correct (only applicable when creating new files):\n - Use the view tool to verify the parent directory exists and is the correct location\n\nWhen making edits:\n - Ensure the edit results in idiomatic, correct code\n - Do not leave the code in a broken state\n - Always use absolute file paths (starting with /)\n\nCRITICAL REQUIREMENTS FOR USING THIS TOOL:\n\n1. EXACT MATCHING: The `old_str` parameter must match EXACTLY one or more consecutive lines from the file, including all whitespace and indentation. The tool will fail if `old_str` matches multiple locations or doesn't match exactly with the file content.\n\n2. UNIQUENESS: The `old_str` must uniquely identify a single instance in the file:\n - Include sufficient context before and after the change point (3-5 lines recommended)\n - If not unique, the replacement will not be performed\n\n3. REPLACEMENT: The `new_str` parameter should contain the edited lines that replace the `old_str`. Both strings must be different.\n\nRemember: when making multiple file edits in a row to the same file, you should prefer to send all edits in a single message with multiple calls to this tool, rather than multiple messages with a single call each.\n", | |
| "name": "str_replace_editor", | |
| "parameters": { | |
| "properties": { | |
| "command": { | |
| "description": "The commands to run. Allowed options are: `view`, `create`, `str_replace`, `insert`, `undo_edit`.", | |
| "enum": [ | |
| "view", | |
| "create", | |
| "str_replace", | |
| "insert", | |
| "undo_edit" | |
| ], | |
| "type": "string" | |
| }, | |
| "file_text": { | |
| "description": "Required parameter of `create` command, with the content of the file to be created.", | |
| "type": "string" | |
| }, | |
| "insert_line": { | |
| "description": "Required parameter of `insert` command. The `new_str` will be inserted AFTER the line `insert_line` of `path`.", | |
| "type": "integer" | |
| }, | |
| "new_str": { | |
| "description": "Optional parameter of `str_replace` command containing the new string (if not given, no string will be added). Required parameter of `insert` command containing the string to insert.", | |
| "type": "string" | |
| }, | |
| "old_str": { | |
| "description": "Required parameter of `str_replace` command containing the string in `path` to replace.", | |
| "type": "string" | |
| }, | |
| "path": { | |
| "description": "Absolute path to file or directory, e.g. `/workspace/file.py` or `/workspace`.", | |
| "type": "string" | |
| }, | |
| "view_range": { | |
| "description": "Optional parameter of `view` command when `path` points to a file. If none is given, the full file is shown. If provided, the file will be shown in the indicated line number range, e.g. [11, 12] will show lines 11 and 12. Indexing at 1 to start. Setting `[start_line, -1]` shows all lines from `start_line` to the end of the file.", | |
| "items": { | |
| "type": "integer" | |
| }, | |
| "type": "array" | |
| } | |
| }, | |
| "required": [ | |
| "command", | |
| "path" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "subagent": { | |
| "function": { | |
| "description": "Called as `subagent` in the source traces. Argument names and types are inferred from the calls observed in this corpus; this harness publishes no schema.", | |
| "name": "subagent", | |
| "parameters": { | |
| "properties": { | |
| "action": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "agent": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "task": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "think": { | |
| "function": { | |
| "description": "Use the tool to think about something. It will not obtain new information or make any changes to the repository, but just log the thought. Use it when complex reasoning or brainstorming is needed.\n\nCommon use cases:\n1. When exploring a repository and discovering the source of a bug, call this tool to brainstorm several unique ways of fixing the bug, and assess which change(s) are likely to be simplest and most effective.\n2. After receiving test results, use this tool to brainstorm ways to fix failing tests.\n3. When planning a complex refactoring, use this tool to outline different approaches and their tradeoffs.\n4. When designing a new feature, use this tool to think through architecture decisions and implementation details.\n5. When debugging a complex issue, use this tool to organize your thoughts and hypotheses.\n\nThe tool simply logs your thought process for better transparency and does not execute any code or make changes.", | |
| "name": "think", | |
| "parameters": { | |
| "properties": { | |
| "thought": { | |
| "description": "The thought to log.", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "thought" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| "tooladvanced": { | |
| "menu": "tooladvanced", | |
| "tools": [ | |
| { | |
| "function": { | |
| "description": "List the files in a directory on internal storage.", | |
| "name": "list_directory", | |
| "parameters": { | |
| "properties": { | |
| "path": { | |
| "description": "absolute path of the directory", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "path" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Read a file from internal storage and return its contents.", | |
| "name": "read_file", | |
| "parameters": { | |
| "properties": { | |
| "path": { | |
| "description": "absolute path of the file", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "path" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Search for files by name, at any depth below a root.", | |
| "name": "search_files", | |
| "parameters": { | |
| "properties": { | |
| "glob": { | |
| "description": "glob to filter results, e.g. \"*.csv\"; * to match everything", | |
| "type": "string" | |
| }, | |
| "query": { | |
| "description": "the name or phrase to search for", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "query" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Write a file to internal storage, creating or overwriting it.", | |
| "name": "write_file", | |
| "parameters": { | |
| "properties": { | |
| "contents": { | |
| "description": "the full text to write", | |
| "type": "string" | |
| }, | |
| "path": { | |
| "description": "absolute path of the file", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "path", | |
| "contents" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Delete a file from internal storage.", | |
| "name": "delete_file", | |
| "parameters": { | |
| "properties": { | |
| "path": { | |
| "description": "absolute path of the file", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "path" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Run a read-only SQL query against the operational database and return rows.", | |
| "name": "query_database", | |
| "parameters": { | |
| "properties": { | |
| "params": { | |
| "description": "named bind parameters for the query", | |
| "type": "object" | |
| }, | |
| "query": { | |
| "description": "the SQL to run", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "query" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Return the columns and row count of one table.", | |
| "name": "describe_table", | |
| "parameters": { | |
| "properties": { | |
| "table": { | |
| "description": "name of the table", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "table" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Run one of the curated reports over a date window and return its rows.", | |
| "name": "run_report", | |
| "parameters": { | |
| "properties": { | |
| "from_date": { | |
| "description": "start of the window, YYYY-MM-DD", | |
| "type": "string" | |
| }, | |
| "report_id": { | |
| "description": "identifier of the report", | |
| "type": "string" | |
| }, | |
| "to_date": { | |
| "description": "end of the window, YYYY-MM-DD", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "report_id", | |
| "from_date", | |
| "to_date" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Search archived messages over a date window.", | |
| "name": "search_messages", | |
| "parameters": { | |
| "properties": { | |
| "from_date": { | |
| "description": "start of the window, YYYY-MM-DD", | |
| "type": "string" | |
| }, | |
| "query": { | |
| "description": "text to search for", | |
| "type": "string" | |
| }, | |
| "to_date": { | |
| "description": "end of the window, YYYY-MM-DD", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "query", | |
| "from_date", | |
| "to_date" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Post a message to a channel.", | |
| "name": "send_message", | |
| "parameters": { | |
| "properties": { | |
| "body": { | |
| "description": "the message text", | |
| "type": "string" | |
| }, | |
| "channel": { | |
| "description": "channel to post in", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "channel", | |
| "body" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "List the channels available to this session.", | |
| "name": "list_channels", | |
| "parameters": { | |
| "properties": {}, | |
| "required": [], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "List diary entries in a date window.", | |
| "name": "list_events", | |
| "parameters": { | |
| "properties": { | |
| "from_date": { | |
| "description": "start of the window, YYYY-MM-DD", | |
| "type": "string" | |
| }, | |
| "to_date": { | |
| "description": "end of the window, YYYY-MM-DD", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "from_date", | |
| "to_date" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Create a diary entry.", | |
| "name": "create_event", | |
| "parameters": { | |
| "properties": { | |
| "attendees": { | |
| "description": "channels or people to invite", | |
| "type": "array" | |
| }, | |
| "duration_minutes": { | |
| "description": "length in minutes", | |
| "type": "integer" | |
| }, | |
| "start": { | |
| "description": "start time, ISO 8601 local", | |
| "type": "string" | |
| }, | |
| "title": { | |
| "description": "title of the entry", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "title", | |
| "start", | |
| "duration_minutes" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "List the task queue.", | |
| "name": "list_tasks", | |
| "parameters": { | |
| "properties": { | |
| "assignee": { | |
| "description": "assignee filter: all or a username", | |
| "type": "string" | |
| }, | |
| "status": { | |
| "description": "status filter: all, open, in_progress, blocked, closed", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "status", | |
| "assignee" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Create a task.", | |
| "name": "create_task", | |
| "parameters": { | |
| "properties": { | |
| "assignee": { | |
| "description": "username to assign it to", | |
| "type": "string" | |
| }, | |
| "due_date": { | |
| "description": "due date, YYYY-MM-DD", | |
| "type": "string" | |
| }, | |
| "title": { | |
| "description": "title of the task", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "title", | |
| "due_date", | |
| "assignee" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Change the status of a task.", | |
| "name": "update_task", | |
| "parameters": { | |
| "properties": { | |
| "status": { | |
| "description": "the new status", | |
| "type": "string" | |
| }, | |
| "task_id": { | |
| "description": "identifier of the task", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "task_id", | |
| "status" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Evaluate an arithmetic expression and return the number.", | |
| "name": "calculator", | |
| "parameters": { | |
| "properties": { | |
| "expression": { | |
| "description": "the arithmetic expression to evaluate", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "expression" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Fetch a page on the public web and return its text.", | |
| "name": "fetch_page", | |
| "parameters": { | |
| "properties": { | |
| "url": { | |
| "description": "the absolute url of the page to fetch", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "url" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| } | |
| ] | |
| }, | |
| "toolbasic": { | |
| "menu": "toolbasic", | |
| "tools": [ | |
| { | |
| "function": { | |
| "description": "Evaluate an arithmetic expression and return the number.", | |
| "name": "calculator", | |
| "parameters": { | |
| "properties": { | |
| "expression": { | |
| "description": "the arithmetic expression to evaluate, e.g. \"34500 / 250\"", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "expression" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Search the web and return a list of results, each with a title and a url.", | |
| "name": "web_search", | |
| "parameters": { | |
| "properties": { | |
| "max_results": { | |
| "description": "how many results to return", | |
| "type": "integer" | |
| }, | |
| "query": { | |
| "description": "the search query", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "query" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Fetch a page and return its text.", | |
| "name": "web_fetch", | |
| "parameters": { | |
| "properties": { | |
| "url": { | |
| "description": "the absolute url of the page to fetch", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "url" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| } | |
| ] | |
| }, | |
| "unsloth": { | |
| "menu": "harness:unsloth", | |
| "tools": [ | |
| { | |
| "function": { | |
| "description": "Search the web.", | |
| "name": "web_search", | |
| "parameters": { | |
| "properties": { | |
| "num_results": { | |
| "description": "how many results to return", | |
| "type": "integer" | |
| }, | |
| "query": { | |
| "description": "the search query", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "query" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Fetch a page and return the extract asked for.", | |
| "name": "fetch_page", | |
| "parameters": { | |
| "properties": { | |
| "extract": { | |
| "description": "what to pull out of the page, in natural language", | |
| "type": "string" | |
| }, | |
| "url": { | |
| "description": "the absolute url of the page", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "url", | |
| "extract" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| } | |
| ] | |
| }, | |
| "webgeneric": { | |
| "menu": "webgeneric", | |
| "tools": [ | |
| { | |
| "function": { | |
| "description": "Search the web and return a list of results, each with a title and a url.", | |
| "name": "web_search", | |
| "parameters": { | |
| "properties": { | |
| "max_results": { | |
| "description": "how many results to return", | |
| "type": "integer" | |
| }, | |
| "query": { | |
| "description": "the search query", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "query" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| }, | |
| { | |
| "function": { | |
| "description": "Fetch a page and return its text. No instruction, format or timeout argument.", | |
| "name": "web_fetch", | |
| "parameters": { | |
| "properties": { | |
| "url": { | |
| "description": "the absolute url of the page to fetch", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "url" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| } | |
| ] | |
| }, | |
| "write": { | |
| "function": { | |
| "description": "Write a file, creating or overwriting it.", | |
| "name": "write", | |
| "parameters": { | |
| "properties": { | |
| "command": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "content": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "edits": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "path": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| }, | |
| "timeout": { | |
| "description": "as observed in the source traces", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "function" | |
| } | |
| } | |