run402-mcp
Version:
MCP server for Run402 — full-stack backend infrastructure for AI agents: Postgres, auth, storage, serverless functions and atomic deploys. Paid with x402/MPP. Includes $0.03 image generation.
25 lines • 965 B
TypeScript
/**
* `expand_result` — the other half of the lossy surface's contract.
*
* A tool that shows a window MUST hand back the affordance for the rest, or
* "truncate the view, never the data" is just truncation with a nicer message.
* This is that affordance: give it the `ref` a tool printed and it returns any
* window of the FULL result the tool actually received.
*
* A secret-bearing result never has a ref (see `../result-store.js`), so it can
* never be reached from here — that is enforced at store time, not by this tool
* refusing to look.
*/
import { z } from "zod";
import { type ToolResult } from "../structured.js";
export declare const expandResultSchema: {
ref: z.ZodString;
offset: z.ZodOptional<z.ZodNumber>;
limit: z.ZodOptional<z.ZodNumber>;
};
export declare function handleExpandResult(args: {
ref: string;
offset?: number;
limit?: number;
}): Promise<ToolResult>;
//# sourceMappingURL=expand-result.d.ts.map