Skip to main content
Tool results keep the complete parsed and scrubbed provider response at toolResponse.rawV2. Deepline-normalized values remain available through extractedValues and extractedLists.

DeeplineContext.tools

Tool/provider operations available from a connected DeeplineContext. This namespace is for regular SDK callers outside a play runtime. Inside a play, use deepline.tools.execute({ id, tool, input, ... }) so provider calls become durable runtime checkpoints.
Signature: export type DeeplineToolsNamespace = { list(): Promise<ToolDefinition[]>; get(toolId: string): Promise<ToolMetadata>; call( toolId: string, input: Record<string, unknown>, options?: DeeplineToolCallOptions, ): Promise<DeeplineToolExecuteResult>; execute( toolId: string, input: Record<string, unknown>, options?: DeeplineToolCallOptions, ): Promise<DeeplineToolExecuteResult>; };