import { APIResource } from "../../core/resource.mjs"; import * as ToolsAPI from "../tools.mjs"; import * as AgentsToolsAPI from "../agents/tools.mjs"; import { APIPromise } from "../../core/api-promise.mjs"; import { RequestOptions } from "../../internal/request-options.mjs"; export declare class Tools extends APIResource { /** * Get a specific MCP tool by its ID */ retrieve(toolID: string, params: ToolRetrieveParams, options?: RequestOptions): APIPromise; /** * Get a list of all tools for a specific MCP server */ list(mcpServerID: string, options?: RequestOptions): APIPromise; /** * Execute a specific MCP tool * * The request body should contain the tool arguments in the ToolExecuteRequest * format. */ run(toolID: string, params: ToolRunParams, options?: RequestOptions): APIPromise; } export type ToolListResponse = Array; export interface ToolRetrieveParams { mcp_server_id: string; } export interface ToolRunParams { /** * Path param */ mcp_server_id: string; /** * Body param: Arguments to pass to the tool */ args?: { [key: string]: unknown; }; } export declare namespace Tools { export { type ToolListResponse as ToolListResponse, type ToolRetrieveParams as ToolRetrieveParams, type ToolRunParams as ToolRunParams, }; } //# sourceMappingURL=tools.d.mts.map