add_tracked_prompts
Add AEO prompts to a project to track questions sent to AI answer engines, with optional topics, tags, and prompt types; duplicate and invalid rows are reported.
Instructions
Add AEO prompts to track for a project (questions sent to AI answer engines).
EXPECTED SHAPE — each prompt is an object with at minimum a `text` field:
{"text": "best managed file transfer tools", "topic": "MFT",
"tags": ["mft"], "prompt_type": "category"}
Only `text` is required. Optional: topic, tags (list or comma-string),
prompt_type ("brand"|"category", default "category"), regions, language,
personas, platforms, analysis_types.
A sheet or CSV maps onto this shape column by column (e.g. "Prompt" -> text, "Topic" -> topic,
"Tags" -> tags). Invalid rows come back as a structured error naming each problem. Prompts
already tracked (ignoring letter case) are skipped. Adding prompts takes the owner, an admin or
an editor role on the project; a viewer's call changes nothing.
The same limits apply as in the Unilytics app: the customer's tracked-prompt allowance (set by
Unilytics for the account that owns the project, counting active prompts across all its
projects; paused prompts don't count) and a per-project ceiling on active prompts. A call over
a limit adds nothing, and its error message says which limit. The result has `imported`,
`skipped_duplicates` and `total` (the project's active prompts after the add); the paying
customer's own accounts also get `cap`, `tracked` and `allowance` (the limit that applied, the
customer's active prompts across its projects, and its allowance).
Args:
project_id: The project UUID (from list_projects or create_project).
prompts: List of prompt objects (see shape above).
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": {
"project_id": "<project_id>",
"prompts": "<prompts>"
},
"name": "add_tracked_prompts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompts | Yes | ||
| project_id | Yes |