get_run_log
Collect real-time device run logs to view script output, errors, and print content. Call after running a project to verify script execution.
Instructions
获取设备运行日志(实时收集指定秒数)。 用于查看脚本运行输出、错误信息和 print 内容。 建议在 run_project 后调用,查看脚本是否正常运行或有报错。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_run_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seconds | No | 收集日志的秒数,默认 3 秒 |