Generate a content brief
generate_briefGenerate an AI content brief for a tracked prompt (Pro plans). Returns the brief in the result ({ ok: true, queryId, brief }, Markdown) — show it from there; it is also saved for the dashboard. Each call writes a new brief that replaces the saved one and uses one generation from the account's fair-use budget (get_usage), so call it again only to regenerate. queryId is a tracked prompt of this site (list_prompts, add_prompt). Refusals name the reason: no-domain (the site has no domain yet; set it in the dashboard), pro-required, provider-not-configured, unknown-query (not a tracked prompt of this site; nothing is spent), generation-budget (with limit: burst-limit clears within a minute, daily-limit and monthly-limit are the allowance), retry-later (a short outage on our side; try again shortly) and generation-failed.
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": {
"queryId": "<queryId>"
},
"name": "generate_brief"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | No | Optional on a connected app: the site chosen with select_site is used. If given, it must be that site. With an API key it is required: a site id from list_sites. | |
| queryId | Yes |