template_pick
Ranks a list of candidate templates by relevance to a given theme and returns the top N template IDs. Pass templates from template_list, specify count and theme.
Instructions
RE-RANKER: AI scores a caller-supplied list of candidate templates and picks the N best-fitting ones for a given theme or topic. This tool does NOT read stored templates server-side — the caller must supply the candidates explicitly (e.g. call template_list first, then pass the results here). Synchronous — no polling needed. Pass the templates array from template_list (full detail) as candidates. Returns { templateIds } — an ordered array of the winning template IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | How many templates to pick (1–20). | |
| theme | Yes | The topic or theme the agent should optimise for (e.g. 'AI productivity tips'). | |
| brandId | No | Brand ID (defaults to active brand) | |
| templates | Yes | Candidate templates to evaluate. Use template_list with detail='full' and pass the relevant fields. |