Tool reference · Requests and grants
my_requests
List your requests and their answers
Every userread-only
POST /v1/actions/my_requests · MCP tool my_requests
Lists the requests the user sent with request_field and the asks they sent with ask_my_contacts, each with its status and any answer; status keeps only those waiting, granted or declined. A granted contact from outside the user’s groups also lands in By Request. Requests other people sent the user are in waiting_requests.
Parameters
| Parameter | Type | Required | Limits |
|---|---|---|---|
status | "waiting" | "granted" | "declined" | optional |
Who can use it
Every user has it. A person’s tool list only includes it when they can use it, and clients like ChatGPT see the same list.
Annotated read-only, so clients like ChatGPT can call it without asking.
Errors
Errors carry a stable code and a message written for people. See errors and their status codes.
curl https://api.withopenbook.com/v1/actions/my_requests \
-H "Authorization: Bearer $OPENBOOK_TOKEN" \
-H "Content-Type: application/json" \
-d '{"status":"granted"}'{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "my_requests",
"arguments": {
"status": "granted"
}
}
}