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.
Parameters
Section titled “Parameters”| Name | Type | Description | |
|---|---|---|---|
project_uuid | string | optional | Project UUID. Required when multiple projects are configured (SONENTA_PROJECTS); defaults to the single configured project otherwise. |
section | string | required | Section to resolve a prompt for (REQUIRED). |
subsection | string | optional | Optional subsection to narrow the match. |
tier | string | optional | Optional tier to narrow the match. |
phase | string | optional | Optional phase to narrow the match. |
language | string | optional | Optional language code used when filling template variables. |
namespace | string | optional | Optional namespace used when filling template variables. |
count | integer | optional | Optional count used by count-dependent template variables (default 0). |
Example
Section titled “Example”{ "tool": "resolve_prompt", "arguments": { "section": "<section>" }}