Files
deepseek-harness/snapshots/session/ptc-python-turn/tool-schemas.expected.json
T

27 lines
1.5 KiB
JSON

{
"initial": [
{
"name": "run_code",
"description": "Execute a Python program against the available tools. Takes two required arguments: `code`, the program to execute, and `description`, a short summary of what the program does. Call tools as `await tools.name(args)` per the declarations in the system prompt. Curate the program output. Image-bearing subtool results are attached after the run. The program is the body of an async Python function. Top-level await and return are supported. Emit output with print(...) or return a lossless JSON value. Only printed values and the returned value become program output. Each call runs in a fresh Python process; variables and imported modules do not persist across calls. The working directory is the Session's current directory.",
"parameters": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "The Python program to execute, following this tool's execution instructions."
},
"description": {
"type": "string",
"description": "Clear, concise description of what this program does in active voice, 5-10 words (shown in the UI). Examples: \"Count TODO markers across packages\"; \"Read failing test and its fixture\"; \"Rename config key in every cordis.yml\"."
}
},
"required": [
"code",
"description"
]
}
}
],
"changes": []
}