get_pending_cohost_request_for_event
Check for a pending cohost invitation on a Partiful event by event ID. Returns the invitation details or null if none exists.
Instructions
Get the pending cohost invitation for a Partiful event by ID, if the current user has one outstanding. Returns pendingCohostRequest, the invitation record's fields (id, event, inviter, status), or null if none is pending.
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": {
"event_id": "<event_id>"
},
"name": "get_pending_cohost_request_for_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Dot-path field names to include in the response. Omit to return all fields. Available fields: pendingCohostRequest, pendingCohostRequest.createdAt, pendingCohostRequest.eventId, pendingCohostRequest.id, pendingCohostRequest.inviterId, pendingCohostRequest.status | |
| event_id | Yes | The Partiful event ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pendingCohostRequest | No |