跳转到主要内容
POST
/
node
/
browser
/
tool
curl --request POST \
  --url 'https://zeus-api.agentspro.cn/node/browser/tool?user_id=user_123' \
  --header 'Content-Type: application/json' \
  --data '{
    "tool_name": "screenshot",
    "tool_args": { "full_page": true },
    "session_id": "sess_456"
  }'
{
  "success": true,
  "result": {
    "screenshot_url": "data:image/png;base64,..."
  }
}
通过 WebSocket 向浏览器扩展发送 JSON-RPC 工具调用请求,等待执行结果返回。超时时间 60 秒。
user_id
string
必填
用户 ID
tool_name
string
必填
工具名称(如 clicktypescreenshotnavigate
tool_args
object
默认值:"{}"
工具参数
session_id
string
会话 ID(可选,用于路由到绑定的节点)
curl --request POST \
  --url 'https://zeus-api.agentspro.cn/node/browser/tool?user_id=user_123' \
  --header 'Content-Type: application/json' \
  --data '{
    "tool_name": "screenshot",
    "tool_args": { "full_page": true },
    "session_id": "sess_456"
  }'
{
  "success": true,
  "result": {
    "screenshot_url": "data:image/png;base64,..."
  }
}