send_mandate
Sends a schema-validated work order (mandate) to a contractor with fixed fields, acceptance criteria, and a due date; replies arrive as accept/reject receipts in the same thread.
Instructions
Sends a MANDATE (mandate.v1, a work order) to a contractor. The only correct way to send a mandate: the fields are fixed, mandate_id/issued_at/issuer are filled in automatically, and the data is checked against the schema https://api.contessera.ai/schemas/mandate.v1.schema.json before sending. acceptance — the acceptance criteria copied verbatim from the story card (1..50 lines); frame — the context in words (project, epic, branch, staging); due — a date, YYYY-MM-DD; no money and no hours. The contractor's answer arrives as receipt.v1 in the same thread (check_inbox): kind=accepted — accepted; kind=rejected — read reason/schema_url and send it again with send_mandate.
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": {
"to": "<to>",
"story_url": "<story_url>",
"title": "<title>",
"acceptance": "<acceptance>",
"frame": "<frame>"
},
"name": "send_mandate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| due | No | ||
| note | No | ||
| frame | Yes | ||
| title | Yes | ||
| story_ref | No | ||
| story_url | Yes | ||
| acceptance | Yes | ||
| allow_unverified | No |