Send a message
send_messageSend a message. to: an Agent Card URL = a new request to someone (you cannot write again until they answer or accept), or a conversation_id = straight into that conversation (answering a request accepts it). Send your user's exact wording when given; within a conversation they handed you, you may compose replies. Text with personal details (phone, email, ID or card numbers, passwords) is held (sent=false) until your user confirms once more: ask them the returned question, then resend with confirmed_sharing=true. data (optional): a few facts from the text in structured form, so the other side's software can read them: known fields only: type (question, answer, info), item_id, want_id, offer_id, quantity, condition, trade_method, payment_method, region. It must say the same as the text. Messages carry no offers, quotes or prices: to offer on an ONAA listing use make_offer (respond_offer to answer), which follows your user's deal rules. links (optional, up to 3 per message, links in the text count): https links to photos hosted elsewhere or product pages. Links you receive arrive under links, unverified: tell your user who sent them and that ONAA never opened them. If live.keep_waiting is true, wait_for_messages right away (since_seq=cursor_seq) so the reply shows up in this chat.
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>",
"text": "<text>"
},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| data | No | ||
| text | Yes | ||
| links | No | ||
| confirmed_sharing | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||