list_pending
List live Claude Code session items awaiting permission requests, questions, or notifications, with request IDs for answering; local entries require on-machine handling.
Instructions
List what live sessions are waiting on, from the Claude Code hooks: permission requests, questions, and notifications, each with a requestId. An entry marked local has no hook waiting and can only be answered on the machine; the others take answer_permission or answer_question. Empty when the hooks are not installed.
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": "list_pending"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | No |