import type { Beta } from "@anthropic-ai/sdk/resources/beta/beta"; import type { Events as SessionEvents } from "@anthropic-ai/sdk/resources/beta/sessions/events"; import type { Resources as SessionResources } from "@anthropic-ai/sdk/resources/beta/sessions/resources"; import type { Threads as SessionThreads } from "@anthropic-ai/sdk/resources/beta/sessions/threads/threads"; import * as z from "zod"; /** Cloud-only create parameters intentionally exclude self-hosted scope. */ type CloudEnvironmentCreateParams = Omit & { config?: Beta.BetaCloudConfigParams | null; }; /** Session update fields currently accepted by the managed cloud API. */ type CloudSessionUpdateParams = Omit; /** Hosted tool confirmation with optional subagent routing. */ type CloudToolConfirmationEvent = SessionEvents.BetaManagedAgentsUserToolConfirmationEventParams & { session_thread_id?: string | null; }; /** Hosted custom-tool result with optional subagent routing. */ type CloudCustomToolResultEvent = SessionEvents.BetaManagedAgentsUserCustomToolResultEventParams & { session_thread_id?: string | null; }; /** Event variants accepted by Anthropic-hosted sessions. */ type CloudSessionEvent = CloudCustomToolResultEvent | CloudToolConfirmationEvent | SessionEvents.BetaManagedAgentsSystemMessageEventParams | SessionEvents.BetaManagedAgentsUserDefineOutcomeEventParams | SessionEvents.BetaManagedAgentsUserInterruptEventParams | SessionEvents.BetaManagedAgentsUserMessageEventParams; /** Bulk event input restricted to hosted-session variants. */ interface CloudEventSendParams { events: CloudSessionEvent[]; } /** Creates a versioned Claude agent definition. */ export declare const createClaudeAgent: import("../..").DefinedAction, unknown, z.core.$ZodTypeInternals, unknown>>, z.ZodType<({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & string) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & number) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & bigint) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & false) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & true) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & void) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & RegExp) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint8Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint8ClampedArray) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Int8Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint16Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Int16Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint32Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Int32Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Float32Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Float64Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & BigUint64Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & BigInt64Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Map) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Set) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Date) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & ArrayBuffer) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & DataView) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Request) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Blob) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & File) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Headers) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & URL) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & URLSearchParams), unknown, z.core.$ZodTypeInternals<({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & string) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & number) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & bigint) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & false) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & true) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & void) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & RegExp) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint8Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint8ClampedArray) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Int8Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint16Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Int16Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint32Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Int32Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Float32Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Float64Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & BigUint64Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & BigInt64Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Map) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Set) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Date) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & ArrayBuffer) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & DataView) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Request) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Blob) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & File) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Headers) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & URL) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & URLSearchParams), unknown>>, "anthropic", false, never>; /** Gets a Claude agent, optionally at an exact version. */ export declare const getClaudeAgent: import("../..").DefinedAction; }, z.core.$strip>, z.ZodType<({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & string) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & number) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & bigint) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & false) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & true) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & void) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & RegExp) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint8Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint8ClampedArray) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Int8Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint16Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Int16Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint32Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Int32Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Float32Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Float64Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & BigUint64Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & BigInt64Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Map) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Set) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Date) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & ArrayBuffer) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & DataView) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Request) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Blob) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & File) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Headers) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & URL) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & URLSearchParams), unknown, z.core.$ZodTypeInternals<({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & string) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & number) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & bigint) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & false) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & true) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & void) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & RegExp) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint8Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint8ClampedArray) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Int8Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint16Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Int16Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint32Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Int32Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Float32Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Float64Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & BigUint64Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & BigInt64Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Map) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Set) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Date) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & ArrayBuffer) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & DataView) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Request) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Blob) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & File) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Headers) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & URL) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & URLSearchParams), unknown>>, "anthropic", false, never>; /** Lists Claude agents one provider page at a time. */ export declare const listClaudeAgents: import("../..").DefinedAction, unknown, z.core.$ZodTypeInternals, unknown>>, z.ZodType, unknown, z.core.$ZodTypeInternals, unknown>>, "anthropic", false, never>; /** Updates a Claude agent and creates its next immutable version. */ export declare const updateClaudeAgent: import("../..").DefinedAction, unknown, z.core.$ZodTypeInternals, unknown>>, z.ZodType<({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & string) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & number) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & bigint) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & false) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & true) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & void) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & RegExp) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint8Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint8ClampedArray) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Int8Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint16Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Int16Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint32Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Int32Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Float32Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Float64Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & BigUint64Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & BigInt64Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Map) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Set) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Date) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & ArrayBuffer) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & DataView) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Request) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Blob) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & File) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Headers) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & URL) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & URLSearchParams), unknown, z.core.$ZodTypeInternals<({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & string) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & number) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & bigint) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & false) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & true) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & void) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & RegExp) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint8Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint8ClampedArray) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Int8Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint16Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Int16Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint32Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Int32Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Float32Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Float64Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & BigUint64Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & BigInt64Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Map) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Set) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Date) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & ArrayBuffer) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & DataView) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Request) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Blob) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & File) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Headers) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & URL) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & URLSearchParams), unknown>>, "anthropic", false, never>; /** Archives a Claude agent. Archived agents cannot start new sessions. */ export declare const archiveClaudeAgent: import("../..").DefinedAction, z.ZodType<({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & string) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & number) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & bigint) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & false) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & true) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & void) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & RegExp) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint8Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint8ClampedArray) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Int8Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint16Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Int16Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint32Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Int32Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Float32Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Float64Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & BigUint64Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & BigInt64Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Map) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Set) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Date) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & ArrayBuffer) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & DataView) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Request) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Blob) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & File) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Headers) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & URL) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & URLSearchParams), unknown, z.core.$ZodTypeInternals<({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & string) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & number) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & bigint) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & false) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & true) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & void) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & RegExp) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint8Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint8ClampedArray) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Int8Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint16Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Int16Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Uint32Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Int32Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Float32Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Float64Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & BigUint64Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & BigInt64Array) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Map) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Set) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Date) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & ArrayBuffer) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & DataView) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Request) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Blob) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & File) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & Headers) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & URL) | ({ id: string; archivedAt: string | null; createdAt: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; metadata: { [x: string]: string; }; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ id: string; type: "agent"; version: number; } | { model: string; type: "advisor"; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; updatedAt: string; version: number; } & URLSearchParams), unknown>>, "anthropic", false, never>; /** Lists immutable versions of a Claude agent. */ export declare const listClaudeAgentVersions: import("../..").DefinedAction, unknown, z.core.$ZodTypeInternals, unknown>>, z.ZodType, unknown, z.core.$ZodTypeInternals, unknown>>, "anthropic", false, never>; /** Creates an Anthropic-hosted cloud environment. */ export declare const createClaudeEnvironment: import("../..").DefinedAction, unknown, z.core.$ZodTypeInternals, unknown>>, z.ZodType<({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & string) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & number) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & bigint) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & false) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & true) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & void) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & RegExp) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint8Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint8ClampedArray) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Int8Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint16Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Int16Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint32Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Int32Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Float32Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Float64Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & BigUint64Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & BigInt64Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Map) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Set) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Date) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & ArrayBuffer) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & DataView) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Request) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Blob) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & File) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Headers) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & URL) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & URLSearchParams), unknown, z.core.$ZodTypeInternals<({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & string) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & number) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & bigint) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & false) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & true) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & void) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & RegExp) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint8Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint8ClampedArray) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Int8Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint16Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Int16Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint32Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Int32Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Float32Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Float64Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & BigUint64Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & BigInt64Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Map) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Set) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Date) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & ArrayBuffer) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & DataView) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Request) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Blob) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & File) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Headers) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & URL) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & URLSearchParams), unknown>>, "anthropic", false, never>; /** Gets a Claude environment. */ export declare const getClaudeEnvironment: import("../..").DefinedAction, z.ZodType<({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & string) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & number) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & bigint) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & false) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & true) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & void) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & RegExp) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint8Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint8ClampedArray) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Int8Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint16Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Int16Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint32Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Int32Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Float32Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Float64Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & BigUint64Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & BigInt64Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Map) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Set) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Date) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & ArrayBuffer) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & DataView) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Request) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Blob) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & File) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Headers) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & URL) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & URLSearchParams), unknown, z.core.$ZodTypeInternals<({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & string) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & number) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & bigint) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & false) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & true) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & void) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & RegExp) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint8Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint8ClampedArray) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Int8Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint16Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Int16Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint32Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Int32Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Float32Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Float64Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & BigUint64Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & BigInt64Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Map) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Set) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Date) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & ArrayBuffer) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & DataView) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Request) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Blob) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & File) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Headers) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & URL) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & URLSearchParams), unknown>>, "anthropic", false, never>; /** Lists Claude environments one provider page at a time. */ export declare const listClaudeEnvironments: import("../..").DefinedAction, unknown, z.core.$ZodTypeInternals, unknown>>, z.ZodType, unknown, z.core.$ZodTypeInternals, unknown>>, "anthropic", false, never>; /** Updates a hosted Claude environment. */ export declare const updateClaudeEnvironment: import("../..").DefinedAction & { config?: Beta.BetaCloudConfigParams | null; } & { environmentId: string; }>, unknown, z.core.$ZodTypeInternals & { config?: Beta.BetaCloudConfigParams | null; } & { environmentId: string; }>, unknown>>, z.ZodType<({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & string) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & number) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & bigint) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & false) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & true) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & void) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & RegExp) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint8Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint8ClampedArray) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Int8Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint16Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Int16Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint32Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Int32Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Float32Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Float64Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & BigUint64Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & BigInt64Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Map) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Set) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Date) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & ArrayBuffer) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & DataView) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Request) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Blob) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & File) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Headers) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & URL) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & URLSearchParams), unknown, z.core.$ZodTypeInternals<({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & string) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & number) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & bigint) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & false) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & true) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & void) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & RegExp) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint8Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint8ClampedArray) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Int8Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint16Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Int16Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint32Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Int32Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Float32Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Float64Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & BigUint64Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & BigInt64Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Map) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Set) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Date) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & ArrayBuffer) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & DataView) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Request) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Blob) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & File) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Headers) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & URL) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & URLSearchParams), unknown>>, "anthropic", false, never>; /** Archives a Claude environment while retaining its history. */ export declare const archiveClaudeEnvironment: import("../..").DefinedAction, z.ZodType<({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & string) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & number) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & bigint) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & false) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & true) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & void) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & RegExp) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint8Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint8ClampedArray) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Int8Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint16Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Int16Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint32Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Int32Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Float32Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Float64Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & BigUint64Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & BigInt64Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Map) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Set) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Date) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & ArrayBuffer) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & DataView) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Request) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Blob) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & File) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Headers) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & URL) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & URLSearchParams), unknown, z.core.$ZodTypeInternals<({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & string) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & number) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & bigint) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & false) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & true) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & void) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & RegExp) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint8Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint8ClampedArray) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Int8Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint16Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Int16Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Uint32Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Int32Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Float32Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Float64Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & BigUint64Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & BigInt64Array) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Map) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Set) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Date) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & ArrayBuffer) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & DataView) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Request) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Blob) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & File) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & Headers) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & URL) | ({ id: string; archivedAt: string | null; config: { networking: { type: "unrestricted"; } | { allowMcpServers: boolean; allowPackageManagers: boolean; allowedHosts: string[]; type: "limited"; }; packages: { apt: string[]; cargo: string[]; gem: string[]; go: string[]; npm: string[]; pip: string[]; type?: "packages" | undefined; }; type: "cloud"; } | { type: "self_hosted"; }; createdAt: string; description: string | null; metadata: { [x: string]: string; }; name: string; type: "environment"; updatedAt: string; scope?: "account" | "organization" | undefined; } & URLSearchParams), unknown>>, "anthropic", false, never>; /** Deletes a Claude environment. */ export declare const deleteClaudeEnvironment: import("../..").DefinedAction, z.ZodType<({ id: string; type: "environment_deleted"; } & string) | ({ id: string; type: "environment_deleted"; } & number) | ({ id: string; type: "environment_deleted"; } & bigint) | ({ id: string; type: "environment_deleted"; } & false) | ({ id: string; type: "environment_deleted"; } & true) | ({ id: string; type: "environment_deleted"; } & void) | ({ id: string; type: "environment_deleted"; } & RegExp) | ({ id: string; type: "environment_deleted"; } & Uint8Array) | ({ id: string; type: "environment_deleted"; } & Uint8ClampedArray) | ({ id: string; type: "environment_deleted"; } & Int8Array) | ({ id: string; type: "environment_deleted"; } & Uint16Array) | ({ id: string; type: "environment_deleted"; } & Int16Array) | ({ id: string; type: "environment_deleted"; } & Uint32Array) | ({ id: string; type: "environment_deleted"; } & Int32Array) | ({ id: string; type: "environment_deleted"; } & Float32Array) | ({ id: string; type: "environment_deleted"; } & Float64Array) | ({ id: string; type: "environment_deleted"; } & BigUint64Array) | ({ id: string; type: "environment_deleted"; } & BigInt64Array) | ({ id: string; type: "environment_deleted"; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; type: "environment_deleted"; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; type: "environment_deleted"; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; type: "environment_deleted"; } & Map) | ({ id: string; type: "environment_deleted"; } & Set) | ({ id: string; type: "environment_deleted"; } & Date) | ({ id: string; type: "environment_deleted"; } & ArrayBuffer) | ({ id: string; type: "environment_deleted"; } & DataView) | ({ id: string; type: "environment_deleted"; } & Request) | ({ id: string; type: "environment_deleted"; } & Blob) | ({ id: string; type: "environment_deleted"; } & File) | ({ id: string; type: "environment_deleted"; } & Headers) | ({ id: string; type: "environment_deleted"; } & URL) | ({ id: string; type: "environment_deleted"; } & URLSearchParams), unknown, z.core.$ZodTypeInternals<({ id: string; type: "environment_deleted"; } & string) | ({ id: string; type: "environment_deleted"; } & number) | ({ id: string; type: "environment_deleted"; } & bigint) | ({ id: string; type: "environment_deleted"; } & false) | ({ id: string; type: "environment_deleted"; } & true) | ({ id: string; type: "environment_deleted"; } & void) | ({ id: string; type: "environment_deleted"; } & RegExp) | ({ id: string; type: "environment_deleted"; } & Uint8Array) | ({ id: string; type: "environment_deleted"; } & Uint8ClampedArray) | ({ id: string; type: "environment_deleted"; } & Int8Array) | ({ id: string; type: "environment_deleted"; } & Uint16Array) | ({ id: string; type: "environment_deleted"; } & Int16Array) | ({ id: string; type: "environment_deleted"; } & Uint32Array) | ({ id: string; type: "environment_deleted"; } & Int32Array) | ({ id: string; type: "environment_deleted"; } & Float32Array) | ({ id: string; type: "environment_deleted"; } & Float64Array) | ({ id: string; type: "environment_deleted"; } & BigUint64Array) | ({ id: string; type: "environment_deleted"; } & BigInt64Array) | ({ id: string; type: "environment_deleted"; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; type: "environment_deleted"; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; type: "environment_deleted"; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; type: "environment_deleted"; } & Map) | ({ id: string; type: "environment_deleted"; } & Set) | ({ id: string; type: "environment_deleted"; } & Date) | ({ id: string; type: "environment_deleted"; } & ArrayBuffer) | ({ id: string; type: "environment_deleted"; } & DataView) | ({ id: string; type: "environment_deleted"; } & Request) | ({ id: string; type: "environment_deleted"; } & Blob) | ({ id: string; type: "environment_deleted"; } & File) | ({ id: string; type: "environment_deleted"; } & Headers) | ({ id: string; type: "environment_deleted"; } & URL) | ({ id: string; type: "environment_deleted"; } & URLSearchParams), unknown>>, "anthropic", false, never>; /** Starts a Claude agent session and returns it immediately. */ export declare const startClaudeAgentSession: import("../..").DefinedAction, unknown, z.core.$ZodTypeInternals, unknown>>, z.ZodType<({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & string) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & number) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & bigint) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & false) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & true) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & void) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & RegExp) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint8Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint8ClampedArray) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Int8Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint16Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Int16Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint32Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Int32Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Float32Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Float64Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & BigUint64Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & BigInt64Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Map) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Set) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Date) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & ArrayBuffer) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & DataView) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Request) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Blob) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & File) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Headers) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & URL) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & URLSearchParams), unknown, z.core.$ZodTypeInternals<({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & string) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & number) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & bigint) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & false) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & true) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & void) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & RegExp) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint8Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint8ClampedArray) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Int8Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint16Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Int16Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint32Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Int32Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Float32Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Float64Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & BigUint64Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & BigInt64Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Map) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Set) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Date) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & ArrayBuffer) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & DataView) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Request) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Blob) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & File) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Headers) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & URL) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & URLSearchParams), unknown>>, "anthropic", false, never>; /** Gets the current state of a Claude agent session. */ export declare const getClaudeAgentSession: import("../..").DefinedAction, z.ZodType<({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & string) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & number) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & bigint) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & false) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & true) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & void) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & RegExp) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint8Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint8ClampedArray) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Int8Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint16Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Int16Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint32Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Int32Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Float32Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Float64Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & BigUint64Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & BigInt64Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Map) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Set) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Date) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & ArrayBuffer) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & DataView) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Request) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Blob) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & File) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Headers) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & URL) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & URLSearchParams), unknown, z.core.$ZodTypeInternals<({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & string) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & number) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & bigint) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & false) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & true) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & void) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & RegExp) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint8Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint8ClampedArray) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Int8Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint16Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Int16Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint32Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Int32Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Float32Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Float64Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & BigUint64Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & BigInt64Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Map) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Set) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Date) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & ArrayBuffer) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & DataView) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Request) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Blob) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & File) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Headers) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & URL) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & URLSearchParams), unknown>>, "anthropic", false, never>; /** Lists Claude agent sessions one provider page at a time. */ export declare const listClaudeAgentSessions: import("../..").DefinedAction, unknown, z.core.$ZodTypeInternals, unknown>>, z.ZodType, unknown, z.core.$ZodTypeInternals, unknown>>, "anthropic", false, never>; /** Updates mutable configuration on a Claude agent session. */ export declare const updateClaudeAgentSession: import("../..").DefinedAction, unknown, z.core.$ZodTypeInternals, unknown>>, z.ZodType<({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & string) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & number) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & bigint) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & false) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & true) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & void) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & RegExp) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint8Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint8ClampedArray) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Int8Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint16Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Int16Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint32Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Int32Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Float32Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Float64Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & BigUint64Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & BigInt64Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Map) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Set) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Date) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & ArrayBuffer) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & DataView) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Request) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Blob) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & File) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Headers) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & URL) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & URLSearchParams), unknown, z.core.$ZodTypeInternals<({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & string) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & number) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & bigint) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & false) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & true) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & void) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & RegExp) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint8Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint8ClampedArray) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Int8Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint16Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Int16Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint32Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Int32Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Float32Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Float64Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & BigUint64Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & BigInt64Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Map) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Set) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Date) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & ArrayBuffer) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & DataView) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Request) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Blob) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & File) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Headers) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & URL) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & URLSearchParams), unknown>>, "anthropic", false, never>; /** Archives a Claude agent session. */ export declare const archiveClaudeAgentSession: import("../..").DefinedAction, z.ZodType<({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & string) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & number) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & bigint) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & false) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & true) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & void) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & RegExp) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint8Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint8ClampedArray) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Int8Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint16Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Int16Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint32Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Int32Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Float32Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Float64Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & BigUint64Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & BigInt64Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Map) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Set) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Date) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & ArrayBuffer) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & DataView) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Request) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Blob) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & File) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Headers) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & URL) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & URLSearchParams), unknown, z.core.$ZodTypeInternals<({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & string) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & number) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & bigint) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & false) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & true) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & void) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & RegExp) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint8Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint8ClampedArray) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Int8Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint16Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Int16Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Uint32Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Int32Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Float32Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Float64Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & BigUint64Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & BigInt64Array) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Map) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Set) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Date) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & ArrayBuffer) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & DataView) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Request) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Blob) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & File) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & Headers) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & URL) | ({ id: string; agent: { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; multiagent: { agents: ({ model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; })[]; type: "coordinator"; } | null; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; budget: { maxListCost: { amount: string; currency: "USD"; }; type: "limit"; } | null; createdAt: string; environmentId: string; metadata: { [x: string]: string; }; outcomeEvaluations: { completedAt: string | null; description: string; explanation: string | null; iteration: number; outcomeId: string; result: string; type: "outcome_evaluation"; }[]; resources: ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } | { id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } | { memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; })[]; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; }; status: "running" | "rescheduling" | "idle" | "terminated"; title: string | null; type: "session"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; }; vaultIds: string[]; deploymentId?: string | null | undefined; } & URLSearchParams), unknown>>, "anthropic", false, never>; /** Deletes a Claude agent session. */ export declare const deleteClaudeAgentSession: import("../..").DefinedAction, z.ZodType<({ id: string; type: "session_deleted"; } & string) | ({ id: string; type: "session_deleted"; } & number) | ({ id: string; type: "session_deleted"; } & bigint) | ({ id: string; type: "session_deleted"; } & false) | ({ id: string; type: "session_deleted"; } & true) | ({ id: string; type: "session_deleted"; } & void) | ({ id: string; type: "session_deleted"; } & RegExp) | ({ id: string; type: "session_deleted"; } & Uint8Array) | ({ id: string; type: "session_deleted"; } & Uint8ClampedArray) | ({ id: string; type: "session_deleted"; } & Int8Array) | ({ id: string; type: "session_deleted"; } & Uint16Array) | ({ id: string; type: "session_deleted"; } & Int16Array) | ({ id: string; type: "session_deleted"; } & Uint32Array) | ({ id: string; type: "session_deleted"; } & Int32Array) | ({ id: string; type: "session_deleted"; } & Float32Array) | ({ id: string; type: "session_deleted"; } & Float64Array) | ({ id: string; type: "session_deleted"; } & BigUint64Array) | ({ id: string; type: "session_deleted"; } & BigInt64Array) | ({ id: string; type: "session_deleted"; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; type: "session_deleted"; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; type: "session_deleted"; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; type: "session_deleted"; } & Map) | ({ id: string; type: "session_deleted"; } & Set) | ({ id: string; type: "session_deleted"; } & Date) | ({ id: string; type: "session_deleted"; } & ArrayBuffer) | ({ id: string; type: "session_deleted"; } & DataView) | ({ id: string; type: "session_deleted"; } & Request) | ({ id: string; type: "session_deleted"; } & Blob) | ({ id: string; type: "session_deleted"; } & File) | ({ id: string; type: "session_deleted"; } & Headers) | ({ id: string; type: "session_deleted"; } & URL) | ({ id: string; type: "session_deleted"; } & URLSearchParams), unknown, z.core.$ZodTypeInternals<({ id: string; type: "session_deleted"; } & string) | ({ id: string; type: "session_deleted"; } & number) | ({ id: string; type: "session_deleted"; } & bigint) | ({ id: string; type: "session_deleted"; } & false) | ({ id: string; type: "session_deleted"; } & true) | ({ id: string; type: "session_deleted"; } & void) | ({ id: string; type: "session_deleted"; } & RegExp) | ({ id: string; type: "session_deleted"; } & Uint8Array) | ({ id: string; type: "session_deleted"; } & Uint8ClampedArray) | ({ id: string; type: "session_deleted"; } & Int8Array) | ({ id: string; type: "session_deleted"; } & Uint16Array) | ({ id: string; type: "session_deleted"; } & Int16Array) | ({ id: string; type: "session_deleted"; } & Uint32Array) | ({ id: string; type: "session_deleted"; } & Int32Array) | ({ id: string; type: "session_deleted"; } & Float32Array) | ({ id: string; type: "session_deleted"; } & Float64Array) | ({ id: string; type: "session_deleted"; } & BigUint64Array) | ({ id: string; type: "session_deleted"; } & BigInt64Array) | ({ id: string; type: "session_deleted"; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; type: "session_deleted"; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; type: "session_deleted"; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; type: "session_deleted"; } & Map) | ({ id: string; type: "session_deleted"; } & Set) | ({ id: string; type: "session_deleted"; } & Date) | ({ id: string; type: "session_deleted"; } & ArrayBuffer) | ({ id: string; type: "session_deleted"; } & DataView) | ({ id: string; type: "session_deleted"; } & Request) | ({ id: string; type: "session_deleted"; } & Blob) | ({ id: string; type: "session_deleted"; } & File) | ({ id: string; type: "session_deleted"; } & Headers) | ({ id: string; type: "session_deleted"; } & URL) | ({ id: string; type: "session_deleted"; } & URLSearchParams), unknown>>, "anthropic", false, never>; /** Lists the durable event history for a Claude session. */ export declare const listClaudeSessionEvents: import("../..").DefinedAction, unknown, z.core.$ZodTypeInternals, unknown>>, z.ZodType, unknown, z.core.$ZodTypeInternals, unknown>>, "anthropic", false, never>; /** Sends one or more provider-native events to a Claude session. */ export declare const sendClaudeSessionEvents: import("../..").DefinedAction, unknown, z.core.$ZodTypeInternals, unknown>>, z.ZodType, unknown, z.core.$ZodTypeInternals, unknown>>, "anthropic", false, never>; /** Sends a user message to a Claude session. */ export declare const sendClaudeAgentMessage: import("../..").DefinedAction & { sessionId: string; }>, unknown, z.core.$ZodTypeInternals & { sessionId: string; }>, unknown>>, z.ZodType, unknown, z.core.$ZodTypeInternals, unknown>>, "anthropic", false, never>; /** Sends a user event followed by privileged system context in one request. */ export declare const sendClaudeSystemContext: import("../..").DefinedAction, unknown, z.core.$ZodTypeInternals, unknown>>, z.ZodType, unknown, z.core.$ZodTypeInternals, unknown>>, "anthropic", false, never>; /** Defines an evaluated outcome for a Claude session. */ export declare const defineClaudeAgentOutcome: import("../..").DefinedAction & { sessionId: string; }>, unknown, z.core.$ZodTypeInternals & { sessionId: string; }>, unknown>>, z.ZodType, unknown, z.core.$ZodTypeInternals, unknown>>, "anthropic", false, never>; /** Approves or denies a pending Claude tool execution. */ export declare const confirmClaudeAgentTool: import("../..").DefinedAction & { sessionId: string; }>, unknown, z.core.$ZodTypeInternals & { sessionId: string; }>, unknown>>, z.ZodType, unknown, z.core.$ZodTypeInternals, unknown>>, "anthropic", false, never>; /** Returns the result of an application-defined custom tool. */ export declare const submitClaudeCustomToolResult: import("../..").DefinedAction & { sessionId: string; }>, unknown, z.core.$ZodTypeInternals & { sessionId: string; }>, unknown>>, z.ZodType, unknown, z.core.$ZodTypeInternals, unknown>>, "anthropic", false, never>; /** Interrupts the primary thread, one child thread, or every active thread. */ export declare const interruptClaudeAgentSession: import("../..").DefinedAction & { sessionId: string; }>, unknown, z.core.$ZodTypeInternals & { sessionId: string; }>, unknown>>, z.ZodType, unknown, z.core.$ZodTypeInternals, unknown>>, "anthropic", false, never>; /** Lists threads spawned within a Claude multi-agent session. */ export declare const listClaudeSessionThreads: import("../..").DefinedAction, unknown, z.core.$ZodTypeInternals, unknown>>, z.ZodType, unknown, z.core.$ZodTypeInternals, unknown>>, "anthropic", false, never>; /** Gets one thread in a Claude session. */ export declare const getClaudeSessionThread: import("../..").DefinedAction, z.ZodType<({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & string) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & number) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & bigint) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & false) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & true) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & void) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & RegExp) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Uint8Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Uint8ClampedArray) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Int8Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Uint16Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Int16Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Uint32Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Int32Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Float32Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Float64Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & BigUint64Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & BigInt64Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Map) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Set) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Date) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & ArrayBuffer) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & DataView) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Request) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Blob) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & File) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Headers) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & URL) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & URLSearchParams), unknown, z.core.$ZodTypeInternals<({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & string) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & number) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & bigint) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & false) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & true) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & void) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & RegExp) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Uint8Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Uint8ClampedArray) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Int8Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Uint16Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Int16Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Uint32Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Int32Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Float32Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Float64Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & BigUint64Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & BigInt64Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Map) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Set) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Date) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & ArrayBuffer) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & DataView) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Request) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Blob) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & File) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Headers) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & URL) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & URLSearchParams), unknown>>, "anthropic", false, never>; /** Archives a child thread in a Claude session. */ export declare const archiveClaudeSessionThread: import("../..").DefinedAction, z.ZodType<({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & string) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & number) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & bigint) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & false) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & true) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & void) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & RegExp) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Uint8Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Uint8ClampedArray) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Int8Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Uint16Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Int16Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Uint32Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Int32Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Float32Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Float64Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & BigUint64Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & BigInt64Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Map) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Set) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Date) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & ArrayBuffer) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & DataView) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Request) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Blob) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & File) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Headers) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & URL) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & URLSearchParams), unknown, z.core.$ZodTypeInternals<({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & string) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & number) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & bigint) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & false) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & true) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & void) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & RegExp) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Uint8Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Uint8ClampedArray) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Int8Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Uint16Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Int16Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Uint32Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Int32Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Float32Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Float64Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & BigUint64Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & BigInt64Array) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Map) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Set) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Date) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & ArrayBuffer) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & DataView) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Request) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Blob) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & File) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & Headers) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & URL) | ({ id: string; agent: { model: string; type: "advisor"; } | { id: string; description: string | null; mcpServers: { name: string; type: "url"; url: string; }[]; model: { id: Beta.Agents.BetaManagedAgentsModel; effort?: { type: "low"; } | { type: "medium"; } | { type: "high"; } | { type: "xhigh"; } | { type: "max"; } | undefined; inferenceGeo?: string | undefined; speed?: "standard" | "fast" | undefined; }; name: string; skills: ({ skillId: string; type: "anthropic"; version: string; } | { skillId: string; type: "custom"; version: string; })[]; system: string | null; tools: ({ configs: ({ enabled: boolean; name: "bash"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "bash"; } | { enabled: boolean; name: "edit"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "edit"; } | { enabled: boolean; name: "read"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "read"; } | { enabled: boolean; name: "write"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "write"; } | { enabled: boolean; name: "glob"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "glob"; } | { enabled: boolean; name: "grep"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "grep"; } | { enabled: boolean; name: "web_fetch"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_fetch"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; maxContentTokens?: number | null | undefined; } | { enabled: boolean; name: "web_search"; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; type: "web_search"; allowedDomains?: string[] | undefined; blockedDomains?: string[] | undefined; userLocation?: { type: "approximate"; city?: string | null | undefined; country?: string | null | undefined; region?: string | null | undefined; timezone?: string | null | undefined; } | null | undefined; })[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; type: "agent_toolset_20260401"; } | { configs: { enabled: boolean; name: string; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }[]; defaultConfig: { enabled: boolean; permissionPolicy: { type: "always_allow"; } | { type: "always_ask"; }; }; mcpServerName: string; type: "mcp_toolset"; } | { description: string; inputSchema: { [x: string]: unknown; type: "object"; properties?: { [x: string]: unknown; } | null | undefined; required?: string[] | null | undefined; }; name: string; type: "custom"; })[]; type: "agent"; version: number; }; archivedAt: string | null; createdAt: string; parentThreadId: string | null; sessionId: string; stats: { activeSeconds?: number | undefined; durationSeconds?: number | undefined; startupSeconds?: number | undefined; } | null; status: Beta.Sessions.Threads.BetaManagedAgentsSessionThreadStatus; type: "session_thread"; updatedAt: string; usage: { activeSeconds?: number | undefined; cacheCreation?: { ephemeral1HInputTokens?: number | undefined; ephemeral5MInputTokens?: number | undefined; } | undefined; cacheReadInputTokens?: number | undefined; inputTokens?: number | undefined; listCost?: { amount: string; currency: "USD"; } | null | undefined; outputTokens?: number | undefined; serverToolUse?: { webFetchRequests?: number | undefined; webSearchRequests?: number | undefined; } | null | undefined; } | null; } & URLSearchParams), unknown>>, "anthropic", false, never>; /** Lists the event history for one Claude session thread. */ export declare const listClaudeSessionThreadEvents: import("../..").DefinedAction, unknown, z.core.$ZodTypeInternals, unknown>>, z.ZodType, unknown, z.core.$ZodTypeInternals, unknown>>, "anthropic", false, never>; /** Adds a previously uploaded file to a Claude session. */ export declare const addClaudeSessionFile: import("../..").DefinedAction, unknown, z.core.$ZodTypeInternals, unknown>>, z.ZodType<({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & string) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & number) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & bigint) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & false) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & true) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & void) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & RegExp) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Uint8Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Uint8ClampedArray) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Int8Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Uint16Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Int16Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Uint32Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Int32Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Float32Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Float64Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & BigUint64Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & BigInt64Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Map) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Set) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Date) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & ArrayBuffer) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & DataView) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Request) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Blob) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & File) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Headers) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & URL) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & URLSearchParams), unknown, z.core.$ZodTypeInternals<({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & string) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & number) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & bigint) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & false) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & true) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & void) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & RegExp) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Uint8Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Uint8ClampedArray) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Int8Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Uint16Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Int16Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Uint32Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Int32Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Float32Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Float64Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & BigUint64Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & BigInt64Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Map) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Set) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Date) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & ArrayBuffer) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & DataView) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Request) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Blob) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & File) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Headers) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & URL) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & URLSearchParams), unknown>>, "anthropic", false, never>; /** Gets one resource attached to a Claude session. */ export declare const getClaudeSessionResource: import("../..").DefinedAction, z.ZodType<({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & string) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & number) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & bigint) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & false) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & true) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & void) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & RegExp) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Uint8Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Uint8ClampedArray) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Int8Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Uint16Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Int16Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Uint32Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Int32Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Float32Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Float64Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & BigUint64Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & BigInt64Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Map) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Set) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Date) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & ArrayBuffer) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & DataView) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Request) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Blob) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & File) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Headers) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & URL) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & URLSearchParams) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & string) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & number) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & bigint) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & false) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & true) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & void) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & RegExp) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Uint8Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Uint8ClampedArray) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Int8Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Uint16Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Int16Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Uint32Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Int32Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Float32Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Float64Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & BigUint64Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & BigInt64Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Map) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Set) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Date) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & ArrayBuffer) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & DataView) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Request) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Blob) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & File) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Headers) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & URL) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & URLSearchParams) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & string) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & number) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & bigint) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & false) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & true) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & void) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & RegExp) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Uint8Array) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Uint8ClampedArray) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Int8Array) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Uint16Array) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Int16Array) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Uint32Array) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Int32Array) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Float32Array) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Float64Array) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & BigUint64Array) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & BigInt64Array) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & import("@automate.ax/codec").Encodable[]) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & readonly import("@automate.ax/codec").Encodable[]) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Map) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Set) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Date) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & ArrayBuffer) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & DataView) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Request) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Blob) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & File) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Headers) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & URL) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & URLSearchParams), unknown, z.core.$ZodTypeInternals<({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & string) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & number) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & bigint) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & false) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & true) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & void) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & RegExp) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Uint8Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Uint8ClampedArray) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Int8Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Uint16Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Int16Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Uint32Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Int32Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Float32Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Float64Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & BigUint64Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & BigInt64Array) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Map) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Set) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Date) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & ArrayBuffer) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & DataView) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Request) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Blob) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & File) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & Headers) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & URL) | ({ id: string; createdAt: string; fileId: string; mountPath: string; type: "file"; updatedAt: string; } & URLSearchParams) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & string) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & number) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & bigint) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & false) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & true) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & void) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & RegExp) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Uint8Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Uint8ClampedArray) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Int8Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Uint16Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Int16Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Uint32Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Int32Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Float32Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Float64Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & BigUint64Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & BigInt64Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Map) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Set) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Date) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & ArrayBuffer) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & DataView) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Request) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Blob) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & File) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Headers) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & URL) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & URLSearchParams) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & string) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & number) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & bigint) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & false) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & true) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & void) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & RegExp) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Uint8Array) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Uint8ClampedArray) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Int8Array) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Uint16Array) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Int16Array) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Uint32Array) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Int32Array) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Float32Array) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Float64Array) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & BigUint64Array) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & BigInt64Array) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & import("@automate.ax/codec").Encodable[]) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & readonly import("@automate.ax/codec").Encodable[]) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Map) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Set) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Date) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & ArrayBuffer) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & DataView) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Request) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Blob) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & File) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & Headers) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & URL) | ({ memoryStoreId: string; type: "memory_store"; access?: "read_write" | "read_only" | null | undefined; description?: string | undefined; instructions?: string | null | undefined; mountPath?: string | null | undefined; name?: string | null | undefined; } & URLSearchParams), unknown>>, "anthropic", false, never>; /** Lists resources attached to a Claude session. */ export declare const listClaudeSessionResources: import("../..").DefinedAction, unknown, z.core.$ZodTypeInternals, unknown>>, z.ZodType, unknown, z.core.$ZodTypeInternals, unknown>>, "anthropic", false, never>; /** Rotates the authorization token for a session repository. */ export declare const updateClaudeRepositoryToken: import("../..").DefinedAction, z.ZodType<({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & string) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & number) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & bigint) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & false) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & true) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & void) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & RegExp) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Uint8Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Uint8ClampedArray) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Int8Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Uint16Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Int16Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Uint32Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Int32Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Float32Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Float64Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & BigUint64Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & BigInt64Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Map) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Set) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Date) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & ArrayBuffer) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & DataView) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Request) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Blob) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & File) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Headers) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & URL) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & URLSearchParams), unknown, z.core.$ZodTypeInternals<({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & string) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & number) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & bigint) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & false) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & true) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & void) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & RegExp) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Uint8Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Uint8ClampedArray) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Int8Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Uint16Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Int16Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Uint32Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Int32Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Float32Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Float64Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & BigUint64Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & BigInt64Array) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Map) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Set) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Date) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & ArrayBuffer) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & DataView) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Request) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Blob) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & File) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & Headers) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & URL) | ({ id: string; createdAt: string; mountPath: string; type: "github_repository"; updatedAt: string; url: string; checkout?: { name: string; type: "branch"; } | { sha: string; type: "commit"; } | null | undefined; } & URLSearchParams), unknown>>, "anthropic", false, never>; /** Deletes a detachable resource from a Claude session. */ export declare const deleteClaudeSessionResource: import("../..").DefinedAction, z.ZodType<({ id: string; type: "session_resource_deleted"; } & string) | ({ id: string; type: "session_resource_deleted"; } & number) | ({ id: string; type: "session_resource_deleted"; } & bigint) | ({ id: string; type: "session_resource_deleted"; } & false) | ({ id: string; type: "session_resource_deleted"; } & true) | ({ id: string; type: "session_resource_deleted"; } & void) | ({ id: string; type: "session_resource_deleted"; } & RegExp) | ({ id: string; type: "session_resource_deleted"; } & Uint8Array) | ({ id: string; type: "session_resource_deleted"; } & Uint8ClampedArray) | ({ id: string; type: "session_resource_deleted"; } & Int8Array) | ({ id: string; type: "session_resource_deleted"; } & Uint16Array) | ({ id: string; type: "session_resource_deleted"; } & Int16Array) | ({ id: string; type: "session_resource_deleted"; } & Uint32Array) | ({ id: string; type: "session_resource_deleted"; } & Int32Array) | ({ id: string; type: "session_resource_deleted"; } & Float32Array) | ({ id: string; type: "session_resource_deleted"; } & Float64Array) | ({ id: string; type: "session_resource_deleted"; } & BigUint64Array) | ({ id: string; type: "session_resource_deleted"; } & BigInt64Array) | ({ id: string; type: "session_resource_deleted"; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; type: "session_resource_deleted"; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; type: "session_resource_deleted"; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; type: "session_resource_deleted"; } & Map) | ({ id: string; type: "session_resource_deleted"; } & Set) | ({ id: string; type: "session_resource_deleted"; } & Date) | ({ id: string; type: "session_resource_deleted"; } & ArrayBuffer) | ({ id: string; type: "session_resource_deleted"; } & DataView) | ({ id: string; type: "session_resource_deleted"; } & Request) | ({ id: string; type: "session_resource_deleted"; } & Blob) | ({ id: string; type: "session_resource_deleted"; } & File) | ({ id: string; type: "session_resource_deleted"; } & Headers) | ({ id: string; type: "session_resource_deleted"; } & URL) | ({ id: string; type: "session_resource_deleted"; } & URLSearchParams), unknown, z.core.$ZodTypeInternals<({ id: string; type: "session_resource_deleted"; } & string) | ({ id: string; type: "session_resource_deleted"; } & number) | ({ id: string; type: "session_resource_deleted"; } & bigint) | ({ id: string; type: "session_resource_deleted"; } & false) | ({ id: string; type: "session_resource_deleted"; } & true) | ({ id: string; type: "session_resource_deleted"; } & void) | ({ id: string; type: "session_resource_deleted"; } & RegExp) | ({ id: string; type: "session_resource_deleted"; } & Uint8Array) | ({ id: string; type: "session_resource_deleted"; } & Uint8ClampedArray) | ({ id: string; type: "session_resource_deleted"; } & Int8Array) | ({ id: string; type: "session_resource_deleted"; } & Uint16Array) | ({ id: string; type: "session_resource_deleted"; } & Int16Array) | ({ id: string; type: "session_resource_deleted"; } & Uint32Array) | ({ id: string; type: "session_resource_deleted"; } & Int32Array) | ({ id: string; type: "session_resource_deleted"; } & Float32Array) | ({ id: string; type: "session_resource_deleted"; } & Float64Array) | ({ id: string; type: "session_resource_deleted"; } & BigUint64Array) | ({ id: string; type: "session_resource_deleted"; } & BigInt64Array) | ({ id: string; type: "session_resource_deleted"; } & import("@automate.ax/codec").Encodable[]) | ({ id: string; type: "session_resource_deleted"; } & readonly import("@automate.ax/codec").Encodable[]) | ({ id: string; type: "session_resource_deleted"; } & { readonly [key: string]: import("@automate.ax/codec").Encodable; }) | ({ id: string; type: "session_resource_deleted"; } & Map) | ({ id: string; type: "session_resource_deleted"; } & Set) | ({ id: string; type: "session_resource_deleted"; } & Date) | ({ id: string; type: "session_resource_deleted"; } & ArrayBuffer) | ({ id: string; type: "session_resource_deleted"; } & DataView) | ({ id: string; type: "session_resource_deleted"; } & Request) | ({ id: string; type: "session_resource_deleted"; } & Blob) | ({ id: string; type: "session_resource_deleted"; } & File) | ({ id: string; type: "session_resource_deleted"; } & Headers) | ({ id: string; type: "session_resource_deleted"; } & URL) | ({ id: string; type: "session_resource_deleted"; } & URLSearchParams), unknown>>, "anthropic", false, never>; export {}; //# sourceMappingURL=actions.d.ts.map