grok_collect
Collects unclaimed asynchronous subagent results for client hooks and returns hook JSON; on Stop events, signals when the client should wait.
Instructions
客户端 hook 专用:收取未领取结果,或在 Stop 时提示等待。返回 hook JSON。
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": {
"event": "<event>"
},
"name": "grok_collect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | Yes | ||
| source_id | No |