Ai Test
ai_testSimulates an incoming customer message to show the AI classification, spam decision, and reply without creating a conversation, so you can validate prompts and knowledge.
Instructions
Simulate an incoming customer message: returns the classification the AI would assign, whether it would be spam, and the reply it would give, without creating a conversation. Useful to check classifications, prompts and knowledge.
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": {
"organizationId": "<organizationId>",
"message": "<message>"
},
"name": "ai_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | The customer message to test. | |
| organizationId | Yes | The organization id. Use organization_list to find it. |