execute_code
Run Python code for financial analysis and calculations to support research workflows, with results output via print statements.
Instructions
Execute python code can be used in scenarios such as analysis or calculation, and the final result can be printed using the print function.
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_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | code to be executed |