Submit Chat Feedback
submit_chat_feedbackRate chat responses with thumbs up or down to help improve AI answer quality. Provide optional explanation for feedback.
Instructions
Submit feedback on a chat response (thumbs up/down). Helps improve AI answer quality.
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": {
"promptId": "<promptId>",
"messageId": "<messageId>",
"score": "<score>"
},
"name": "submit_chat_feedback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| score | Yes | Feedback score: 1 for thumbs up, -1 for thumbs down | |
| reason | No | Optional explanation for the feedback | |
| promptId | Yes | ID of the conversation | |
| messageId | Yes | ID of the message to rate |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Response payload from the Speak AI API |