Import search queries as prompts
import_queriesImport real search queries (from a keyword tool or Search Console) as prompts, one per line, optionally as "query,intent,category". They are stored word for word, as drafts unless status=active; dryRun=true only counts what would be added. Raw keywords are not questions yet: run rewrite_queries next to turn them into buyer questions. For questions already written use add_prompts.
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>",
"contents": "<contents>"
},
"name": "import_queries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Only count what would happen. | |
| status | No | draft (default) or active. | |
| contents | Yes | The queries, one per line; optionally "query,intent,category". | |
| projectId | Yes | The project id, from list_projects. |