Record a request
create_requestRecord one request. delivered_to_business is false when the business was not contacted. category is information or quotation. Example arguments: {"business_id":"ba-from-search","category":"information","subject":"20 brackets","message":"Can you make 20 brackets in Oakland?","idempotency_key":"brackets-1","authorized":true}
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": {
"business_id": "<business_id>",
"category": "<category>",
"subject": "<subject>",
"message": "<message>",
"idempotency_key": "<idempotency_key>"
},
"name": "create_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | 10 to 5000 characters. | |
| subject | Yes | 3 to 160 characters. | |
| category | Yes | information or quotation. | |
| quantity | No | Optional, 1 to 100000. | |
| authorized | No | True only if the user asked you to contact this business. | |
| business_id | Yes | Id from search or get_business. | |
| destination | No | Optional place. | |
| idempotency_key | Yes | 8 to 100 characters. Same input returns the same request. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| status | Yes | ||
| delivered_to_business | Yes |