accept_answer
Mark a comment as the accepted answer on a question thread. Use get_thread to find the comment_id of the correct answer.
Instructions
Mark a comment as the accepted answer on a question thread. Use get_thread first to find the comment_id of the correct answer.
Args: thread_id: The global thread ID (from list_threads or search_threads). comment_id: The ID of the comment to accept (from get_thread results).
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": {
"thread_id": "<thread_id>",
"comment_id": "<comment_id>"
},
"name": "accept_answer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | Yes | ||
| comment_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |