Kind: Type
Source: atloria-monorepo/libs/parser-core/src/techdocs/mcp-toolset.ts
Optional live-API execution backend. Injected the same way as askFn so the toolset stays PURE
(no fetch/dns/Nest here) — all outbound HTTP, SSRF validation, method allow-listing and
server-side auth injection live in the executor the API layer builds (api-executor.ts). Present
only when the project has opted into a Live API target, which is what gates the call_operation
tool below.
Definition
ts(input: {
method: string;
path: string;
pathParams?: Record<string, string>;
query?: Record<string, string>;
body?: unknown;
}) => Promise<{ status: number; statusText: string; headers: Record<string, string>; body: unknown }>
Was this page helpful?