Public declaration syntax from forge-ts/packages/forge-tool/src/definition.ts Original source SHA-256: cd329423d7fca733da0482c4d98e45532ee36e4c31438d0c1c33d5b149be4042 Function bodies and constant values are omitted. This is not the complete implementation. Source line 46 export class ToolBuilder { constructor(name: string); description(desc: string): this; tier(tier: ToolTier): this; parameters(schema: JsonSchema): this; executor(executor: ToolExecutor): this; handler(handler: (call: ToolCall) => ToolResult | Promise): this; build(): [ToolDefinition, ToolExecutor | undefined]; }