agents/tiny-local/prompts/agent.system.tool.code_exe.md
Run terminal, Python, or Node.js commands.
Arguments in tool_args:
runtime: terminal, python, nodejs, or outputcode: command or script codesession: terminal session id; default 0reset: kill a session before running; true or falseRules:
code.runtime=output to poll running work.input for interactive terminal prompts.session and reset=true.find over ls so hidden files and type filters are handled.Examples:
{"tool_name":"code_execution_tool","tool_args":{"runtime":"terminal","session":0,"reset":false,"code":"ls -1 /tmp | wc -l"}}
{"tool_name":"code_execution_tool","tool_args":{"runtime":"python","session":0,"reset":false,"code":"import os\nprint(os.getcwd())"}}
{"tool_name":"code_execution_tool","tool_args":{"runtime":"output","session":0}}