Skip to content

createHttpTool

function createHttpTool(config): Tool<unknown, HttpToolResult>;

Create a tool that makes HTTP requests based on config. The tool will substitute path params, build query/body, and execute the request.

Parameter Type

config

HttpToolConfig

Tool<unknown, HttpToolResult>