tool_code_run_sandboxed
Execute validated extraction code in a sandboxed subprocess. The code must define a function that extracts data from source text and input payload.
Instructions
Run validated extraction recipe code in a separate limited subprocess. Code must define extract(source_text, input_payload).
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": "tool_code_run_sandboxed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| timeout | No | ||
| source_text | No | ||
| input_payload | No | ||
| max_output_chars | No |