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.
Paramètres
Section intitulée « Paramètres »| Nom | Type | Description | |
|---|---|---|---|
project_uuid | string | optionnel | Project UUID. Required when multiple projects are configured (SONENTA_PROJECTS); defaults to the single configured project otherwise. |
section | string | requis | Section to resolve a prompt for (REQUIRED). |
subsection | string | optionnel | Optional subsection to narrow the match. |
tier | string | optionnel | Optional tier to narrow the match. |
phase | string | optionnel | Optional phase to narrow the match. |
language | string | optionnel | Optional language code used when filling template variables. |
namespace | string | optionnel | Optional namespace used when filling template variables. |
count | integer | optionnel | Optional count used by count-dependent template variables (default 0). |
{ "tool": "resolve_prompt", "arguments": { "section": "<section>" }}