Reject several suggested Requests
reject_query_suggestionsReject several pending query suggestions in one call, under one reason. Each is rejected one at a time, exactly as reject_query_suggestion would; a suggestion that is not found or not pending is reported beside its id and never stops the rest. Use it after a publish seeded more Requests than the project's goal needs. Choose either suggestion_ids (use list_query_suggestions first), or datasource_id with all_pending: true to snapshot all pending IDs for that datasource, optionally keeping except_suggestion_ids. The forms cannot be combined. The datasource form returns true rejected/refused counts, bounded ID lists with truncated when needed, and remaining_pending counted after the decisions; concurrent publications can add more pending Requests.
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": {
"reason": "<reason>"
},
"name": "reject_query_suggestions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Explanation recorded for every suggestion rejected in this call | |
| all_pending | No | Must be true with datasource_id; reject the pending IDs captured at the start of this call | |
| datasource_id | No | UUID of the datasource whose pending suggestions to reject; requires all_pending: true and excludes suggestion_ids | |
| suggestion_ids | No | UUIDs of the pending suggestions to reject, in the order to reject them | |
| except_suggestion_ids | No | Optional UUIDs to keep pending in the datasource form |