run_custom_tool
Execute custom tools defined in project configuration by passing tool names and arguments to replace placeholders, enabling AI agents to interact with VS Code.
Instructions
Execute a custom tool defined in project configuration
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"toolName": "<toolName>"
},
"name": "run_custom_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toolName | Yes | Name of the custom tool to run | |
| args | No | Arguments to pass to the custom tool (replaces {{key}} placeholders) |