Execute TypeScript
execute_typescriptRun a single TypeScript program in a sandboxed interpreter. The program may call any external_ function declared by search_tools, batching multiple tool calls into one program instead of one MCP round trip per call. Call search_tools first to see what is declared.
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": {
"code": "<code>"
},
"name": "execute_typescript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | TypeScript source. May call external_<name>(...) functions declared by search_tools. |