Answer an ask waiting for my gym
answer_held_requestUse this when an owner wants to accept or decline one ask held for the plan at their place, by its hold_id. Read the ask back to the owner first, and set confirmation to true only after they said yes. Accept books the member in (a paid class is held while they pay on Phorme's own page; a full class puts them on the waitlist), or sends a 1:1 request on to the place's email. Decline ends it, with the owner's short note when they gave one. Either way the member hears. Accepting needs the gym plan at that place; the result then gives plan_url instead. It takes no payment. It needs a connected Phorme account that owns the place.
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": {
"hold_id": "<hold_id>",
"answer": "<answer>",
"confirmation": "<confirmation>"
},
"name": "answer_held_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | For decline: a short note to the member, in the owner's words. | |
| answer | Yes | ||
| hold_id | Yes | The hold_id from list_held_requests. | |
| confirmation | Yes | Set to true only after the owner said yes to this answer. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hold | Yes | id, outcome (released, declined or expired) and booking_status. | |
| next | Yes | ||
| plan_url | No |