Respond to a Request
respond_to_requestRecords a decision on a pending item addressed to the user (ids from get_my_inbox). decision: approve or deny a share request or offer (approve issues a grant; limitedScopes narrows it); accept_counter accepts a counter-offer and issues its grant (deny declines one); adopt or decline a recommendation. Only the party the item is waiting on may decide; an unknown id and an item that is not the user's return the same error. Decisions are final; an issued grant can later be revoked with revoke_setup_share. Returns the item's id and new status, plus the grant for approve and accept_counter. Adopting records the decision and installs nothing. [Bearer scope: decision approve: setup_share:request; decision deny: setup_share:request; decision accept_counter: setup_share:request; decision adopt: setup_share:status:read; decision decline: setup_share:status:read]
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": {
"id": "<id>",
"decision": "<decision>"
},
"name": "respond_to_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The request, counter-offer or recommendation id. | |
| reason | No | Optional note recorded on the decision. Not accepted with adopt. | |
| decision | Yes | ||
| limitedScopes | No | approve only: the subset of the requested scopes to grant (at most 20 entries; repeated scopes are deduplicated). |