submit_prayer_request
Post a prayer request to SoapBox's prayer wall ON BEHALF OF A USER, so their community can pray for it. Requires the user's consent_token (which they generate in the SoapBox app and which must include the 'prayer:write' scope) — an API key alone is not enough to act for a user. Returns the new prayer_id; use check_prayer_status to see how many are praying.
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": {
"consent_token": "<consent_token>",
"content": "<content>"
},
"name": "submit_prayer_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The prayer request text, in the user's own words. At most 500 characters, the same limit as the app. | |
| is_private | No | If true, keep it private to the user; if false, post it on their church's prayer wall so its members can pray. | |
| community_id | No | Public requests only: which church's prayer wall to post on. Needed only when the user belongs to more than one church; with one church it is chosen for you. A public request from a user with no church is refused (keep it private instead), and the error lists the choices when there are several. | |
| consent_token | Yes | Opaque SoapBox consent token with the 'prayer:write' scope, generated by the user in the SoapBox app (Settings › AI Agents). The first agent key to use a token is bound to it; a token no agent uses within 24 hours of being created stops working. An invalid, expired, or wrong-scope token returns an authorization error. |