Skip to content

resolve_prompt

Resolve the single best-matching prompt for a section and get its template ready to use, with catalogue variables filled in. Use this when you want THE prompt for a job rather than a list to pick from. section is required; narrow further with subsection / tier / phase, and pass language / namespace / count to shape the resolved variables. Read-only, free (0 credits). Returns {prompt:{key, i18n_key, template, resolved, variables_used}}; errors 404 if nothing matches.

NameTypeDescription
project_uuidstringoptionalProject UUID. Required when multiple projects are configured (SONENTA_PROJECTS); defaults to the single configured project otherwise.
sectionstringrequiredSection to resolve a prompt for (REQUIRED).
subsectionstringoptionalOptional subsection to narrow the match.
tierstringoptionalOptional tier to narrow the match.
phasestringoptionalOptional phase to narrow the match.
languagestringoptionalOptional language code used when filling template variables.
namespacestringoptionalOptional namespace used when filling template variables.
countintegeroptionalOptional count used by count-dependent template variables (default 0).
{
"tool": "resolve_prompt",
"arguments": {
"section": "<section>"
}
}