import * as z from "zod/v4"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import * as models from "../index.js"; export type GetToolGlobals = { /** * The app identifier should be your app's URL and is used as the primary identifier for rankings. * * @remarks * This is used to track API usage per application. */ httpReferer?: string | undefined; /** * The app display name allows you to customize how your app appears in OpenRouter's dashboard. * * @remarks */ appTitle?: string | undefined; /** * Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings. * * @remarks */ appCategories?: string | undefined; }; export type GetToolSecurity = { bearer: string; }; export type GetToolRequest = { /** * The app identifier should be your app's URL and is used as the primary identifier for rankings. * * @remarks * This is used to track API usage per application. */ httpReferer?: string | undefined; /** * The app display name allows you to customize how your app appears in OpenRouter's dashboard. * * @remarks */ appTitle?: string | undefined; /** * Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings. * * @remarks */ appCategories?: string | undefined; /** * Canonical `openrouter:*` name or any accepted `tools[].type` alias */ name: string; }; export type GetToolResponse = { headers: { [k: string]: Array; }; result?: models.GetToolResponse | undefined; }; /** @internal */ export type GetToolSecurity$Outbound = { bearer: string; }; /** @internal */ export declare const GetToolSecurity$outboundSchema: z.ZodType; export declare function getToolSecurityToJSON(getToolSecurity: GetToolSecurity): string; /** @internal */ export type GetToolRequest$Outbound = { "HTTP-Referer"?: string | undefined; appTitle?: string | undefined; appCategories?: string | undefined; name: string; }; /** @internal */ export declare const GetToolRequest$outboundSchema: z.ZodType; export declare function getToolRequestToJSON(getToolRequest: GetToolRequest): string; /** @internal */ export declare const GetToolResponse$inboundSchema: z.ZodType; export declare function getToolResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=gettool.d.ts.map