⚡ Code Mode / programmatic tool calling for the pi coding agent — fix the MCP context-window problem: 427 tool schemas → 0 in prompt, 85–91% of tool payloads kept out of context, measured per script.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "verify_agora",
"arguments": {
"id": "pg_dyn_mcp_mx2795bj_h33w"
}
}
}