The Claude model for a helper
helperReturns the Claude model a Claude helper (subagent) should run on, and records what helpers and main turns used. Called by Leanfare's own leanfare-level mod and Claude Code hook, never by the model in a chat.
Instructions
Returns the Claude model a Claude helper (subagent) should run on, and records what helpers and main turns used. Called by Leanfare's own leanfare-level mod and Claude Code hook, never by the model in a chat. Use: before a helper starts, pass task (and description, agent, asked); Leanfare answers with the model as the Agent tool names it (haiku, sonnet, opus or fable), its full id and why, or says to keep the model. After it ends, pass done; for the main model's own turn, pass turn. It writes token counts to Leanfare's local report and keeps no words. To hand work to an outside model use delegate or plan.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "helper"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| done | No | A helper's end: id (from the pick), model (the id that ran), input, cached and output tokens, seconds, reason (answer, aborted, refusal, error). | |
| task | No | The helper's prompt, as the Agent tool got it. | |
| turn | No | The main model's own turn: model, input, cached and output tokens, and effort if known. | |
| agent | No | The helper's agent type (general-purpose, Explore, Plan, or a plugin's). | |
| asked | No | The model the Agent call named, if it named one. | |
| session | No | The session or chat it belongs to, if known. | |
| description | No | The Agent tool's short description of the task. |