import type { McpToolSchema } from '../../../types'; import type { SandboxCapability } from './capabilities/types.js'; /** One line of the tool list: the sandbox-facing tool name plus a one-line purpose. */ export type ToolListEntry = { name: string; purpose?: string; /** A platform tool whose name explains it; its purpose gives way before a custom tool's. */ builtIn?: boolean; }; /** Maps MCP tool schemas and active capabilities to tool-list entries (sandbox names). */ export declare function toToolListEntries(tools: McpToolSchema[], capabilities: SandboxCapability[]): ToolListEntry[]; /** * Renders one `- name — purpose` line per entry within `maxChars`. Built-in purposes shorten * and then drop before custom purposes shorten; names alone are the last resort. */ export declare function buildToolList(entries: ToolListEntry[], maxChars: number): string; //# sourceMappingURL=build-tool-list.d.ts.map