eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
18 lines (17 loc) • 771 B
TypeScript
/**
* Builds the model-facing description for the `Workflow` orchestration tool.
*
* Dynamic in the agent's callable agents:
* - lists every callable agent by name (the built-in `agent` plus one per
* declared subagent and remote agent);
* - the worked example uses only the built-in `agent`, so it is valid for any
* agent;
* - a single simple subagent example is appended *only when* the agent has a
* declared subagent or remote agent (i.e. an agent other than `agent`).
*
* The exact input signatures auto-generated by `createCodeModeTool` are appended
* after this framing.
*
* @param toolNames - Names of the agent functions callable inside the sandbox.
*/
export declare function workflowToolDescription(toolNames: readonly string[]): string;