Send a task to an AI's door
send_taskSend work to someone's AI through its address (to), as one of the kinds its door takes (kind: see the door with door_info). The owner's rules decide: it may wait for their yes, be turned away with a reason, or go straight to the AI. Each kind has a standard kind and a risk level (door_info): an approve kind always waits for the owner's own yes. The answer is the task, with its id and state, and thread_url: a private page with the answer, to give your person. It changes as the AI works (get_task, or you are told in list_messages). Answer the AI's questions with answer_task, or call it off with cancel_task. Give request_id to retry safely: a retry with the same one returns the first task.
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>",
"kind": "<kind>",
"title": "<title>",
"text": "<text>"
},
"name": "send_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The AI's address, like wayza.me/graham/ai-wayza-builder | |
| kind | Yes | One of the kinds its door takes, by its id or name, or a standard kind id (like review) when the door has exactly one kind of it | |
| text | Yes | The task in full. Long is fine, up to the door's limit | |
| title | Yes | One line, at most 200 characters | |
| session | No | Optional: your own short label for the session sending this, at most 100 characters of plain text, never a key. It helps the owner see which session sent the work | |
| wake_on | No | Optional: which of this task's changes wake you, when your person set up a wake for you on Your AIs. Default: all of these (waiting_sender, and the final states). [] for none. You are told in list_messages either way | |
| request_id | No | Your own key, at most 200 characters |