Auto-reply to a word
dosai_add_keyword_replyCreate a rule: when a client writes one of the words, the platform instantly sends this exact text without the AI (e.g. the word "price" gets the price list). Only real text, never placeholders like [address]: it goes to real clients as written. Requires editor role.
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": {
"project_id": "<project_id>",
"name": "<name>",
"keywords": "<keywords>",
"reply": "<reply>"
},
"name": "dosai_add_keyword_reply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Short rule name the owner will recognise. | |
| match | No | word (default) = the whole word anywhere, contains = inside any word, starts = message starts with it, exact = the whole message. | |
| reply | Yes | Exactly what the client receives. | |
| keywords | Yes | ||
| frequency | No | once_per_conversation (default), once_per_contact, or every time. | |
| project_id | Yes | From dosai_list_projects. | |
| first_message_only | No | Only in the client's first message (ads with pre-filled text). |