Rewrite queries into questions
rewrite_queriesRewrite imported raw queries ("cloud banking") into the full questions a buyer would ask an assistant, using the analysis model; the original query is kept as the prompt’s keyword. Spends a few cents per hundred queries from the balance; dryRun=true returns the rewrites without saving them. category limits it to one category. Run it after import_queries.
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": {
"projectId": "<projectId>"
},
"name": "rewrite_queries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Return the rewrites without saving them. | |
| category | No | Rewrite only the queries of this category. | |
| projectId | Yes | The project id, from list_projects. |