@archastro/sdk
    Preparing search index...

    Variable agentToolSchemaConst

    agentToolSchema: ZodObject<
        {
            agent: ZodOptional<ZodString>;
            app: ZodOptional<ZodString>;
            async: ZodOptional<ZodBoolean>;
            builtin_tool_config: ZodOptional<
                ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
            >;
            builtin_tool_key: ZodOptional<ZodString>;
            config: ZodOptional<ZodString>;
            created_at: ZodOptional<ZodString>;
            description: ZodOptional<ZodString>;
            handler_type: ZodOptional<ZodString>;
            id: ZodString;
            instruction: ZodOptional<ZodString>;
            kind: ZodOptional<ZodString>;
            last_applied_template_config: ZodOptional<ZodString>;
            lookup_key: ZodOptional<ZodString>;
            metadata: ZodOptional<
                ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
            >;
            name: ZodOptional<ZodString>;
            name_prefix: ZodOptional<ZodString>;
            parameters: ZodOptional<
                ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
            >;
            parameters_config: ZodOptional<ZodString>;
            setup: ZodOptional<
                ZodNullable<
                    ZodObject<
                        {
                            next_action: ZodString;
                            protocol_status: ZodLiteral<"not_checked">;
                            reason: ZodString;
                        },
                        "strip",
                        ZodTypeAny,
                        { next_action: string; protocol_status: "not_checked"; reason: string },
                        { next_action: string; protocol_status: "not_checked"; reason: string },
                    >,
                >,
            >;
            status: ZodOptional<ZodString>;
            updated_at: ZodOptional<ZodString>;
        },
        "strip",
        ZodTypeAny,
        {
            agent?: string;
            app?: string;
            async?: boolean;
            builtin_tool_config?: Record<string, {} | null>;
            builtin_tool_key?: string;
            config?: string;
            created_at?: string;
            description?: string;
            handler_type?: string;
            id: string;
            instruction?: string;
            kind?: string;
            last_applied_template_config?: string;
            lookup_key?: string;
            metadata?: Record<string, {} | null>;
            name?: string;
            name_prefix?: string;
            parameters?: Record<string, {} | null>;
            parameters_config?: string;
            setup?:
                | {
                    next_action: string;
                    protocol_status: "not_checked";
                    reason: string;
                }
                | null;
            status?: string;
            updated_at?: string;
        },
        {
            agent?: string;
            app?: string;
            async?: boolean;
            builtin_tool_config?: Record<string, {} | null>;
            builtin_tool_key?: string;
            config?: string;
            created_at?: string;
            description?: string;
            handler_type?: string;
            id: string;
            instruction?: string;
            kind?: string;
            last_applied_template_config?: string;
            lookup_key?: string;
            metadata?: Record<string, {} | null>;
            name?: string;
            name_prefix?: string;
            parameters?: Record<string, {} | null>;
            parameters_config?: string;
            setup?:
                | {
                    next_action: string;
                    protocol_status: "not_checked";
                    reason: string;
                }
                | null;
            status?: string;
            updated_at?: string;
        },
    > = ...

    Runtime validator for AgentTool.