codeact_compile_stubs
Compile verbose OpenAI/MCP JSON tool schemas into compact Python CodeAct stubs and return token statistics, reducing schema overhead for coding agents.
Instructions
Compile verbose OpenAI/MCP JSON Tool Schemas into compact Python CodeAct stubs with token stats.
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": {
"schemas": "<schemas>"
},
"name": "codeact_compile_stubs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schemas | Yes | Array of JSON Tool Schema definitions. |