UNPKG

@toolprint/api-client

Version:
1,427 lines 67.1 kB
export declare const ValidationErrorSchema: { readonly properties: { readonly loc: { readonly items: { readonly anyOf: readonly [{ readonly type: "string"; }, { readonly type: "integer"; }]; }; readonly title: "Location"; readonly type: "array"; }; readonly msg: { readonly title: "Message"; readonly type: "string"; }; readonly type: { readonly title: "Error Type"; readonly type: "string"; }; }; readonly required: readonly ["loc", "msg", "type"]; readonly title: "ValidationError"; readonly type: "object"; }; export declare const UserAccountSchema: { readonly description: "Model for storing user information including their API key"; readonly properties: { readonly api_key: { readonly title: "Api Key"; readonly type: "string"; }; readonly belongs_to_organization_id: { readonly anyOf: readonly [{ readonly type: "string"; }, { readonly type: "null"; }]; readonly title: "Belongs To Organization Id"; }; readonly created_at: { readonly anyOf: readonly [{ readonly format: "date-time"; readonly type: "string"; }, { readonly type: "null"; }]; readonly title: "Created At"; }; readonly doppler_service_token_id: { readonly anyOf: readonly [{ readonly format: "uuid"; readonly type: "string"; }, { readonly type: "null"; }]; readonly title: "Doppler Service Token Id"; }; readonly id: { readonly title: "Id"; readonly type: "string"; }; readonly updated_at: { readonly anyOf: readonly [{ readonly format: "date-time"; readonly type: "string"; }, { readonly type: "null"; }]; readonly title: "Updated At"; }; }; readonly required: readonly ["id", "api_key"]; readonly title: "UserAccount"; readonly type: "object"; }; export declare const UpsertSecretResponseSchema: { readonly properties: { readonly secret_name: { readonly title: "Secret Name"; readonly type: "string"; }; readonly success: { readonly title: "Success"; readonly type: "boolean"; }; }; readonly required: readonly ["success", "secret_name"]; readonly title: "UpsertSecretResponse"; readonly type: "object"; }; export declare const UpsertSecretRequestSchema: { readonly properties: { readonly value: { readonly anyOf: readonly [{ readonly type: "string"; }, { readonly type: "object"; }]; readonly title: "Value"; }; readonly value_type: { readonly enum: readonly ["string", "object"]; readonly title: "Value Type"; readonly type: "string"; }; }; readonly required: readonly ["value_type", "value"]; readonly title: "UpsertSecretRequest"; readonly type: "object"; }; export declare const ToolprintToolReferenceSchema: { readonly description: "A reference to a tool that is used in a toolprint. This reference can link to a tool directly by a unique identifier or indirectly through\na link to the tool server as well as the name of the tool. The latter reference is experimental and relies on the implementor\nto ensure that the reference is correctly followed."; readonly properties: { readonly id: { readonly anyOf: readonly [{ readonly format: "uuid"; readonly type: "string"; }, { readonly type: "null"; }]; readonly description: "An optional reference id"; readonly title: "Id"; }; readonly name: { readonly description: "The name of the tool. If the tool exists within this server or integration, this value will be used to link to it."; readonly title: "Name"; readonly type: "string"; }; readonly ref_type: { readonly anyOf: readonly [{ readonly enum: readonly ["local", "id"]; readonly type: "string"; }, { readonly type: "null"; }]; readonly default: "local"; readonly description: "The type of reference to the tool. If the tool exists within this server or integration, this value will be used to link to it."; readonly title: "Ref Type"; }; }; readonly required: readonly ["name"]; readonly title: "ToolprintToolReference"; readonly type: "object"; }; export declare const ToolprintToolSchema: { readonly description: "A definition of how a specific tool should be used within a toolprint.\nThis is a simplified model that focuses on the conceptual structure and specifically\navoids referential fields to any persisted entities.\n\nThis tool reference is limited to the server or integration in which the toolprint was defined."; readonly properties: { readonly ref: { readonly $ref: "#/components/schemas/ToolprintToolReference"; readonly description: "A reference to a tool that is used in this toolprint. This reference can link to a tool directly by a unique identifier or indirectly througha link to the tool server as well as the name of the tool. The latter reference is experimental and relies on the implementorto ensure that the reference is correctly followed."; }; readonly usage_hints: { readonly anyOf: readonly [{ readonly type: "string"; }, { readonly type: "null"; }]; readonly description: "A more in-depth description of this tool and what it should be used for in the context of this recipe."; readonly title: "Usage Hints"; }; }; readonly required: readonly ["ref"]; readonly title: "ToolprintTool"; readonly type: "object"; }; export declare const ToolprintRecommendationSchema: { readonly description: "A recommendation for a toolprint based on a goal."; readonly properties: { readonly meta: { readonly $ref: "#/components/schemas/SearchResultMeta"; readonly description: "Meta fields for the toolprint recommendation."; }; readonly prompts: { readonly description: "The prompts that should be injected into the message stack to prime the agent's LLM."; readonly items: { readonly $ref: "#/components/schemas/Prompt"; }; readonly title: "Prompts"; readonly type: "array"; }; readonly toolprint: { readonly $ref: "#/components/schemas/RegisteredToolprint"; readonly description: "The toolprint that is recommended."; }; }; readonly required: readonly ["meta", "toolprint", "prompts"]; readonly title: "ToolprintRecommendation"; readonly type: "object"; }; export declare const RegisteredToolprintSchema: { readonly description: "A toolprint."; readonly properties: { readonly created_at: { readonly anyOf: readonly [{ readonly format: "date-time"; readonly type: "string"; }, { readonly type: "null"; }]; readonly title: "Created At"; }; readonly created_by: { readonly title: "Created By"; readonly type: "string"; }; readonly id: { readonly format: "uuid"; readonly title: "Id"; readonly type: "string"; }; readonly owner_id: { readonly anyOf: readonly [{ readonly type: "string"; }, { readonly type: "null"; }]; readonly title: "Owner Id"; }; readonly source: { readonly title: "Source"; readonly type: "object"; }; readonly source_checksum: { readonly description: "The checksum of the source toolprint. This helps us track changes from the original vending server/integration."; readonly title: "Source Checksum"; readonly type: "string"; }; readonly toolprint: { readonly $ref: "#/components/schemas/Toolprint-Output"; readonly description: "Useful field for converting our persisted toolprint into a raw toolprint definition for dissemination."; readonly readOnly: true; }; readonly tools: { readonly items: { readonly $ref: "#/components/schemas/Tool"; }; readonly readOnly: true; readonly title: "Tools"; readonly type: "array"; }; readonly updated_at: { readonly anyOf: readonly [{ readonly format: "date-time"; readonly type: "string"; }, { readonly type: "null"; }]; readonly title: "Updated At"; }; readonly updated_by: { readonly anyOf: readonly [{ readonly type: "string"; }, { readonly type: "null"; }]; readonly title: "Updated By"; }; }; readonly required: readonly ["source_checksum", "tools", "toolprint"]; readonly title: "RegisteredToolprint"; readonly type: "object"; }; export declare const ToolSchema: { readonly description: "A tool."; readonly properties: { readonly description: { readonly anyOf: readonly [{ readonly type: "string"; }, { readonly type: "null"; }]; readonly description: "A description of the tool."; readonly title: "Description"; }; readonly icon_url: { readonly anyOf: readonly [{ readonly format: "uri"; readonly minLength: 1; readonly type: "string"; }, { readonly type: "null"; }]; readonly description: "A URL to an icon for the tool."; readonly title: "Icon Url"; }; readonly id: { readonly format: "uuid"; readonly title: "Id"; readonly type: "string"; }; readonly input_schema: { readonly anyOf: readonly [{ readonly type: "object"; }, { readonly type: "boolean"; }]; readonly default: true; readonly description: "A JSON schema for the tool's input (defaults to 'always valid')."; readonly title: "Input Schema"; }; readonly name: { readonly description: "The name of the tool (should be unique within a server)."; readonly title: "Name"; readonly type: "string"; }; readonly server_id: { readonly format: "uuid"; readonly title: "Server Id"; readonly type: "string"; }; }; readonly required: readonly ["server_id", "name", "id"]; readonly title: "Tool"; readonly type: "object"; }; export declare const Toolprint_OutputSchema: { readonly description: "A declarative definition of a toolprint that describes how tools should be used together\nto achieve a goal. This is a simplified model that focuses on the conceptual structure and specifically\navoids referential fields to any persisted entities."; readonly properties: { readonly goal: { readonly description: "The goal that this recipe is helping an agent achieve."; readonly title: "Goal"; readonly type: "string"; }; readonly instructions: { readonly anyOf: readonly [{ readonly type: "string"; }, { readonly type: "null"; }]; readonly description: "The instructions on how this recipe should be used."; readonly title: "Instructions"; }; readonly meta: { readonly $ref: "#/components/schemas/ToolprintMeta-Output"; readonly description: "Meta fields for the toolprint."; }; readonly tools: { readonly description: "Definitions for how each tool should be used in this toolprint."; readonly items: { readonly $ref: "#/components/schemas/ToolprintTool"; }; readonly title: "Tools"; readonly type: "array"; }; }; readonly required: readonly ["meta", "goal", "instructions", "tools"]; readonly title: "Toolprint"; readonly type: "object"; }; export declare const ToolprintMeta_OutputSchema: { readonly description: "A set of meta fields that are common to all toolprints."; readonly properties: { readonly language: { readonly const: "en-US"; readonly default: "en-US"; readonly description: "The language of the toolprint."; readonly title: "Language"; readonly type: "string"; }; readonly name: { readonly description: "The name of the toolprint."; readonly title: "Name"; readonly type: "string"; }; readonly resource_id: { readonly anyOf: readonly [{ readonly type: "string"; }, { readonly type: "null"; }]; readonly description: "The unique identifier for the toolprint."; readonly title: "Resource Id"; }; readonly version: { readonly default: "0.0.1"; readonly description: "The version of the toolprint definition."; readonly title: "Version"; readonly type: "string"; }; }; readonly required: readonly ["name"]; readonly title: "ToolprintMeta"; readonly type: "object"; }; export declare const PromptSchema: { readonly description: "A prompt for an LLM."; readonly properties: { readonly message: { readonly title: "Message"; readonly type: "string"; }; readonly type: { readonly enum: readonly ["system", "user"]; readonly title: "Type"; readonly type: "string"; }; }; readonly required: readonly ["type", "message"]; readonly title: "Prompt"; readonly type: "object"; }; export declare const SearchResultMetaSchema: { readonly description: "Metadata about a search result. All search result types should inherit from this model."; readonly properties: { readonly score: { readonly description: "The score of the search result."; readonly title: "Score"; readonly type: "number"; }; }; readonly required: readonly ["score"]; readonly title: "SearchResultMeta"; readonly type: "object"; }; export declare const ToolprintMeta_InputSchema: { readonly description: "A set of meta fields that are common to all toolprints."; readonly properties: { readonly language: { readonly const: "en-US"; readonly default: "en-US"; readonly description: "The language of the toolprint."; readonly title: "Language"; readonly type: "string"; }; readonly name: { readonly description: "The name of the toolprint."; readonly title: "Name"; readonly type: "string"; }; readonly resource_id: { readonly anyOf: readonly [{ readonly format: "uuid"; readonly type: "string"; }, { readonly type: "null"; }]; readonly description: "The unique identifier for the toolprint."; readonly title: "Resource Id"; }; readonly version: { readonly default: "0.0.1"; readonly description: "The version of the toolprint definition."; readonly title: "Version"; readonly type: "string"; }; }; readonly required: readonly ["name"]; readonly title: "ToolprintMeta"; readonly type: "object"; }; export declare const Toolprint_InputSchema: { readonly description: "A declarative definition of a toolprint that describes how tools should be used together\nto achieve a goal. This is a simplified model that focuses on the conceptual structure and specifically\navoids referential fields to any persisted entities."; readonly properties: { readonly goal: { readonly description: "The goal that this recipe is helping an agent achieve."; readonly title: "Goal"; readonly type: "string"; }; readonly instructions: { readonly anyOf: readonly [{ readonly type: "string"; }, { readonly type: "null"; }]; readonly description: "The instructions on how this recipe should be used."; readonly title: "Instructions"; }; readonly meta: { readonly $ref: "#/components/schemas/ToolprintMeta-Input"; readonly description: "Meta fields for the toolprint."; }; readonly tools: { readonly description: "Definitions for how each tool should be used in this toolprint."; readonly items: { readonly $ref: "#/components/schemas/ToolprintTool"; }; readonly title: "Tools"; readonly type: "array"; }; }; readonly required: readonly ["meta", "goal", "instructions", "tools"]; readonly title: "Toolprint"; readonly type: "object"; }; export declare const ToolServerProviderSchema: { readonly properties: { readonly id: { readonly format: "uuid"; readonly title: "Id"; readonly type: "string"; }; readonly name: { readonly title: "Name"; readonly type: "string"; }; }; readonly required: readonly ["id", "name"]; readonly title: "ToolServerProvider"; readonly type: "object"; }; export declare const ToolServerPropertiesSchema: { readonly description: "Properties for a tool server."; readonly properties: { readonly properties: { readonly title: "Properties"; readonly type: "object"; }; }; readonly required: readonly ["properties"]; readonly title: "ToolServerProperties"; readonly type: "object"; }; export declare const ToolServerLaunchConfigSchema: { readonly description: "The launch config for a tool server."; readonly properties: { readonly secret_name: { readonly title: "Secret Name"; readonly type: "string"; }; readonly source: { readonly const: "doppler"; readonly title: "Source"; readonly type: "string"; }; }; readonly required: readonly ["source", "secret_name"]; readonly title: "ToolServerLaunchConfig"; readonly type: "object"; }; export declare const ToolServerSchema: { readonly properties: { readonly id: { readonly format: "uuid"; readonly title: "Id"; readonly type: "string"; }; readonly name: { readonly title: "Name"; readonly type: "string"; }; readonly properties: { readonly title: "Properties"; readonly type: "object"; }; readonly provider_id: { readonly format: "uuid"; readonly title: "Provider Id"; readonly type: "string"; }; }; readonly required: readonly ["provider_id", "name", "id"]; readonly title: "ToolServer"; readonly type: "object"; }; export declare const ToolResourceSchema: { readonly description: "A broad summary of details about a tool akin to a ToolResource."; readonly properties: { readonly canonical_resource: { readonly $ref: "#/components/schemas/CanonicalResource"; readonly readOnly: true; }; readonly description: { readonly anyOf: readonly [{ readonly type: "string"; }, { readonly type: "null"; }]; readonly title: "Description"; }; readonly id: { readonly title: "Id"; readonly type: "string"; }; readonly integration_name: { readonly title: "Integration Name"; readonly type: "string"; }; readonly org_id: { readonly title: "Org Id"; readonly type: "string"; }; readonly policy: { readonly $ref: "#/components/schemas/PolicyBase"; }; readonly profile_id: { readonly title: "Profile Id"; readonly type: "string"; }; readonly properties: { readonly $ref: "#/components/schemas/ToolProperties"; }; readonly provider: { readonly $ref: "#/components/schemas/ToolServerProvider"; readonly readOnly: true; }; readonly server: { readonly $ref: "#/components/schemas/ToolServer"; readonly readOnly: true; }; readonly tool: { readonly $ref: "#/components/schemas/Tool"; }; readonly tool_name: { readonly title: "Tool Name"; readonly type: "string"; }; }; readonly required: readonly ["integration_name", "tool_name", "id", "tool", "org_id", "profile_id", "policy", "properties", "server", "provider", "canonical_resource"]; readonly title: "ToolResource"; readonly type: "object"; }; export declare const ToolPropertiesSchema: { readonly description: "Properties for a tool."; readonly properties: { readonly tags: { readonly title: "Tags"; readonly type: "object"; }; }; readonly required: readonly ["tags"]; readonly title: "ToolProperties"; readonly type: "object"; }; export declare const PolicyBaseSchema: { readonly description: "Base model with shared policy fields"; readonly properties: { readonly access_policy: { readonly $ref: "#/components/schemas/AccessPolicyType"; }; readonly canonical_resource_name: { readonly title: "Canonical Resource Name"; readonly type: "string"; }; readonly description: { readonly anyOf: readonly [{ readonly type: "string"; }, { readonly type: "null"; }]; readonly title: "Description"; }; readonly event_name: { readonly title: "Event Name"; readonly type: "string"; }; readonly organization_id: { readonly anyOf: readonly [{ readonly type: "string"; }, { readonly type: "null"; }]; readonly title: "Organization Id"; }; }; readonly required: readonly ["event_name", "access_policy", "canonical_resource_name"]; readonly title: "PolicyBase"; readonly type: "object"; }; export declare const AccessPolicyTypeSchema: { readonly description: "Enum for access policy types"; readonly enum: readonly ["ALWAYS", "NEVER", "REQUIRES_PERMISSION"]; readonly title: "AccessPolicyType"; readonly type: "string"; }; export declare const CanonicalResourceSchema: { readonly description: "Represents a canonical resource name in object form."; readonly properties: { readonly event_name: { readonly title: "Event Name"; readonly type: "string"; }; readonly org_id: { readonly title: "Org Id"; readonly type: "string"; }; readonly profile_id: { readonly title: "Profile Id"; readonly type: "string"; }; readonly server_name: { readonly title: "Server Name"; readonly type: "string"; }; }; readonly required: readonly ["org_id", "profile_id", "server_name", "event_name"]; readonly title: "CanonicalResource"; readonly type: "object"; }; export declare const ToolCustomTagsParamsRequestSchema: { readonly description: "Params to change the tags for a tool in an integration. Will upsert any tags that already\nexist. Will not delete any other tags. This is only net additive."; readonly properties: { readonly description: { readonly anyOf: readonly [{ readonly type: "string"; }, { readonly type: "null"; }]; readonly title: "Description"; }; readonly integration_name: { readonly title: "Integration Name"; readonly type: "string"; }; readonly tags: { readonly title: "Tags"; readonly type: "object"; }; readonly tool_name: { readonly title: "Tool Name"; readonly type: "string"; }; }; readonly required: readonly ["integration_name", "tool_name", "tags"]; readonly title: "ToolCustomTagsParamsRequest"; readonly type: "object"; }; export declare const ToolCustomTagSelectionParamsRequestSchema: { readonly description: "Params that generalize the selection the tags for a tool in an integration."; readonly properties: { readonly description: { readonly anyOf: readonly [{ readonly type: "string"; }, { readonly type: "null"; }]; readonly title: "Description"; }; readonly integration_name: { readonly title: "Integration Name"; readonly type: "string"; }; readonly tags: { readonly items: { readonly type: "string"; }; readonly title: "Tags"; readonly type: "array"; }; readonly tool_name: { readonly title: "Tool Name"; readonly type: "string"; }; }; readonly required: readonly ["integration_name", "tool_name", "tags"]; readonly title: "ToolCustomTagSelectionParamsRequest"; readonly type: "object"; }; export declare const StrategySchema: { readonly description: "A model representing a result for a goal-based search."; readonly properties: { readonly instructions: { readonly description: "Instructions to follow the strategy."; readonly title: "Instructions"; readonly type: "string"; }; readonly recipe_id: { readonly description: "The ID of the recipe that was used to generate the strategy."; readonly format: "uuid"; readonly title: "Recipe Id"; readonly type: "string"; }; readonly tools: { readonly description: "List of one or more fully-hydrated tool resources that should be used in the strategy to achieve the goal."; readonly items: { readonly $ref: "#/components/schemas/ToolResource"; }; readonly title: "Tools"; readonly type: "array"; }; }; readonly required: readonly ["recipe_id", "instructions", "tools"]; readonly title: "Strategy"; readonly type: "object"; }; export declare const SmitheryToolServerClientSchema: { readonly description: "A client for a tool server that is a smithery server."; readonly properties: { readonly client_type: { readonly const: "smithery"; readonly title: "Client Type"; readonly type: "string"; }; readonly connections: { readonly items: { readonly $ref: "#/components/schemas/SmitheryConnectionInfo"; }; readonly title: "Connections"; readonly type: "array"; }; readonly launch_config: { readonly anyOf: readonly [{ readonly $ref: "#/components/schemas/ToolServerLaunchConfig"; }, { readonly type: "null"; }]; }; readonly server_id: { readonly format: "uuid"; readonly title: "Server Id"; readonly type: "string"; }; }; readonly required: readonly ["server_id", "client_type", "connections"]; readonly title: "SmitheryToolServerClient"; readonly type: "object"; }; export declare const SmitheryConnectionInfoSchema: { readonly properties: { readonly config_schema: { readonly anyOf: readonly [{ readonly type: "object"; }, { readonly type: "boolean"; }]; readonly default: true; readonly title: "Config Schema"; }; readonly deployment_url: { readonly format: "uri"; readonly minLength: 1; readonly title: "Deployment Url"; readonly type: "string"; }; readonly type: { readonly enum: readonly ["ws", "http"]; readonly title: "Type"; readonly type: "string"; }; }; readonly required: readonly ["type"]; readonly title: "SmitheryConnectionInfo"; readonly type: "object"; }; export declare const ServiceTokenResponseSchema: { readonly description: "Response including the service token for the SDK to use."; readonly properties: { readonly doppler_config: { readonly anyOf: readonly [{ readonly type: "string"; }, { readonly type: "null"; }]; readonly title: "Doppler Config"; }; readonly doppler_env: { readonly anyOf: readonly [{ readonly type: "string"; }, { readonly type: "null"; }]; readonly title: "Doppler Env"; }; readonly doppler_project: { readonly anyOf: readonly [{ readonly type: "string"; }, { readonly type: "null"; }]; readonly title: "Doppler Project"; }; readonly doppler_service_token: { readonly anyOf: readonly [{ readonly type: "string"; }, { readonly type: "null"; }]; readonly title: "Doppler Service Token"; }; }; readonly title: "ServiceTokenResponse"; readonly type: "object"; }; export declare const SearchResponse_ScoredItem_Tool__Schema: { readonly properties: { readonly pagination: { readonly $ref: "#/components/schemas/PaginationMetadata"; }; readonly results: { readonly items: { readonly $ref: "#/components/schemas/ScoredItem_Tool_"; }; readonly title: "Results"; readonly type: "array"; }; }; readonly required: readonly ["pagination", "results"]; readonly title: "SearchResponse[ScoredItem[Tool]]"; readonly type: "object"; }; export declare const ScoredItem_Tool_Schema: { readonly properties: { readonly item: { readonly $ref: "#/components/schemas/Tool"; readonly description: "The item that was scored."; }; readonly score: { readonly description: "The score of the item [0, 1]."; readonly maximum: 1; readonly minimum: 0; readonly title: "Score"; readonly type: "number"; }; }; readonly required: readonly ["item", "score"]; readonly title: "ScoredItem[Tool]"; readonly type: "object"; }; export declare const PaginationMetadataSchema: { readonly description: "Metadata for paginated results"; readonly properties: { readonly has_next: { readonly title: "Has Next"; readonly type: "boolean"; }; readonly has_prev: { readonly title: "Has Prev"; readonly type: "boolean"; }; readonly page: { readonly title: "Page"; readonly type: "integer"; }; readonly page_size: { readonly title: "Page Size"; readonly type: "integer"; }; readonly pages: { readonly title: "Pages"; readonly type: "integer"; }; readonly total: { readonly title: "Total"; readonly type: "integer"; }; }; readonly required: readonly ["page", "page_size", "total", "pages", "has_next", "has_prev"]; readonly title: "PaginationMetadata"; readonly type: "object"; }; export declare const SearchResponse_ScoredItem_RegisteredToolprint__Schema: { readonly properties: { readonly pagination: { readonly $ref: "#/components/schemas/PaginationMetadata"; }; readonly results: { readonly items: { readonly $ref: "#/components/schemas/ScoredItem_RegisteredToolprint_"; }; readonly title: "Results"; readonly type: "array"; }; }; readonly required: readonly ["pagination", "results"]; readonly title: "SearchResponse[ScoredItem[RegisteredToolprint]]"; readonly type: "object"; }; export declare const ScoredItem_RegisteredToolprint_Schema: { readonly properties: { readonly item: { readonly $ref: "#/components/schemas/RegisteredToolprint"; readonly description: "The item that was scored."; }; readonly score: { readonly description: "The score of the item [0, 1]."; readonly maximum: 1; readonly minimum: 0; readonly title: "Score"; readonly type: "number"; }; }; readonly required: readonly ["item", "score"]; readonly title: "ScoredItem[RegisteredToolprint]"; readonly type: "object"; }; export declare const SearchRequestSchema: { readonly description: "A request for a search."; readonly properties: { readonly k: { readonly default: 10; readonly description: "The number of results to return from index."; readonly title: "K"; readonly type: "integer"; }; readonly min_score: { readonly default: 0; readonly description: "The minimum score to return from index."; readonly title: "Min Score"; readonly type: "number"; }; readonly page: { readonly default: 0; readonly description: "The page number to return."; readonly title: "Page"; readonly type: "integer"; }; readonly page_size: { readonly default: 10; readonly description: "The number of results per page."; readonly title: "Page Size"; readonly type: "integer"; }; readonly query: { readonly description: "The query used against the search index."; readonly title: "Query"; readonly type: "string"; }; }; readonly required: readonly ["query"]; readonly title: "SearchRequest"; readonly type: "object"; }; export declare const RecipeSchema: { readonly description: "A recipe."; readonly properties: { readonly created_at: { readonly anyOf: readonly [{ readonly format: "date-time"; readonly type: "string"; }, { readonly type: "null"; }]; readonly title: "Created At"; }; readonly goal: { readonly description: "The goal that this recipe is helping an agent achieve."; readonly title: "Goal"; readonly type: "string"; }; readonly id: { readonly format: "uuid"; readonly title: "Id"; readonly type: "string"; }; readonly instructions: { readonly anyOf: readonly [{ readonly type: "string"; }, { readonly type: "null"; }]; readonly description: "The instructions for this recipe."; readonly title: "Instructions"; }; readonly tools: { readonly items: { readonly $ref: "#/components/schemas/Tool"; }; readonly readOnly: true; readonly title: "Tools"; readonly type: "array"; }; readonly updated_at: { readonly anyOf: readonly [{ readonly format: "date-time"; readonly type: "string"; }, { readonly type: "null"; }]; readonly title: "Updated At"; }; }; readonly required: readonly ["goal", "instructions", "tools"]; readonly title: "Recipe"; readonly type: "object"; }; export declare const PolicyCheckResultSchema: { readonly description: "Result of a policy check"; readonly properties: { readonly approved: { readonly title: "Approved"; readonly type: "boolean"; }; }; readonly required: readonly ["approved"]; readonly title: "PolicyCheckResult"; readonly type: "object"; }; export declare const PolicyAccessRuleSchema: { readonly description: "Policy template that is used to create a policy."; readonly properties: { readonly access_policy: { readonly $ref: "#/components/schemas/AccessPolicyType"; }; readonly description: { readonly anyOf: readonly [{ readonly type: "string"; }, { readonly type: "null"; }]; readonly title: "Description"; }; readonly event_name: { readonly title: "Event Name"; readonly type: "string"; }; }; readonly required: readonly ["event_name", "access_policy"]; readonly title: "PolicyAccessRule"; readonly type: "object"; }; export declare const PolicySchema: { readonly description: "Policy model that works with both SQL and in-memory storage"; readonly properties: { readonly access_policy: { readonly $ref: "#/components/schemas/AccessPolicyType"; }; readonly canonical_resource_name: { readonly title: "Canonical Resource Name"; readonly type: "string"; }; readonly created_at: { readonly anyOf: readonly [{ readonly format: "date-time"; readonly type: "string"; }, { readonly type: "null"; }]; readonly title: "Created At"; }; readonly description: { readonly anyOf: readonly [{ readonly type: "string"; }, { readonly type: "null"; }]; readonly title: "Description"; }; readonly event_name: { readonly title: "Event Name"; readonly type: "string"; }; readonly id: { readonly format: "uuid"; readonly title: "Id"; readonly type: "string"; }; readonly organization_id: { readonly anyOf: readonly [{ readonly type: "string"; }, { readonly type: "null"; }]; readonly title: "Organization Id"; }; readonly updated_at: { readonly anyOf: readonly [{ readonly format: "date-time"; readonly type: "string"; }, { readonly type: "null"; }]; readonly title: "Updated At"; }; }; readonly required: readonly ["event_name", "access_policy", "canonical_resource_name"]; readonly title: "Policy"; readonly type: "object"; }; export declare const PaginatedResponse_AuditLog_Schema: { readonly properties: { readonly items: { readonly items: { readonly $ref: "#/components/schemas/AuditLog"; }; readonly title: "Items"; readonly type: "array"; }; readonly pagination: { readonly $ref: "#/components/schemas/PaginationMetadata"; }; }; readonly required: readonly ["items", "pagination"]; readonly title: "PaginatedResponse[AuditLog]"; readonly type: "object"; }; export declare const AuditLogSchema: { readonly description: "Model for audit logging"; readonly properties: { readonly action: { readonly title: "Action"; readonly type: "string"; }; readonly details: { readonly title: "Details"; readonly type: "object"; }; readonly id: { readonly anyOf: readonly [{ readonly type: "integer"; }, { readonly type: "null"; }]; readonly title: "Id"; }; readonly performed_by: { readonly default: "system"; readonly title: "Performed By"; readonly type: "string"; }; readonly policy_id: { readonly format: "uuid"; readonly title: "Policy Id"; readonly type: "string"; }; readonly timestamp: { readonly format: "date-time"; readonly title: "Timestamp"; readonly type: "string"; }; }; readonly required: readonly ["policy_id", "action"]; readonly title: "AuditLog"; readonly type: "object"; }; export declare const OrganizationSchema: { readonly properties: { readonly created_at: { readonly anyOf: readonly [{ readonly format: "date-time"; readonly type: "string"; }, { readonly type: "null"; }]; readonly title: "Created At"; }; readonly created_by_user_id: { readonly anyOf: readonly [{ readonly type: "string"; }, { readonly type: "null"; }]; readonly title: "Created By User Id"; }; readonly id: { readonly title: "Id"; readonly type: "string"; }; readonly open_invitation_code: { readonly anyOf: readonly [{ readonly type: "string"; }, { readonly type: "null"; }]; readonly title: "Open Invitation Code"; }; readonly owner_id: { readonly anyOf: readonly [{ readonly type: "string"; }, { readonly type: "null"; }]; readonly title: "Owner Id"; }; readonly updated_at: { readonly anyOf: readonly [{ readonly format: "date-time"; readonly type: "string"; }, { readonly type: "null"; }]; readonly title: "Updated At"; }; }; readonly required: readonly ["id"]; readonly title: "Organization"; readonly type: "object"; }; export declare const NewPolicyRequestSchema: { readonly description: "Model to create a new policy. Other policy fields are derived from the default policy for the\nintegration/event"; readonly properties: { readonly access_policy: { readonly $ref: "#/components/schemas/AccessPolicyType"; }; readonly event_name: { readonly title: "Event Name"; readonly type: "string"; }; readonly integration_name: { readonly title: "Integration Name"; readonly type: "string"; }; }; readonly required: readonly ["integration_name", "event_name", "access_policy"]; readonly title: "NewPolicyRequest"; readonly type: "object"; }; export declare const MultipleToolCustomTagsParamsRequestSchema: { readonly description: "Params to change the tags for multiple tools in an integration."; readonly properties: { readonly tags: { readonly title: "Tags"; readonly type: "object"; }; readonly tool_names: { readonly items: { readonly type: "string"; }; readonly title: "Tool Names"; readonly type: "array"; }; }; readonly required: readonly ["tool_names", "tags"]; readonly title: "MultipleToolCustomTagsParamsRequest"; readonly type: "object"; }; export declare const MultiIdPostBodySchema: { readonly description: "A multi-id post body."; readonly properties: { readonly ids: { readonly anyOf: readonly [{ readonly items: { readonly type: "string"; }; readonly type: "array"; }, { readonly items: { readonly format: "uuid"; readonly type: "string"; }; readonly type: "array"; }]; readonly title: "Ids"; }; }; readonly required: readonly ["ids"]; readonly title: "MultiIdPostBody"; readonly type: "object"; }; export declare const MCPToolServerClientSchema: { readonly description: "A client for a tool server that is a direct MCP server connection."; readonly properties: { readonly client_type: { readonly const: "mcp"; readonly title: "Client Type"; readonly type: "string"; }; readonly server_id: { readonly format: "uuid"; readonly title: "Server Id"; readonly type: "string"; }; readonly transport_type: { readonly enum: readonly ["sse", "websocket"]; readonly title: "Transport Type"; readonly type: "string"; }; readonly url: { readonly format: "uri"; readonly minLength: 1; readonly title: "Url"; readonly type: "string"; }; }; readonly required: readonly ["server_id", "client_type", "transport_type", "url"]; readonly title: "MCPToolServerClient"; readonly type: "object"; }; export declare const MCPIntegrationArgsSchema: { readonly description: "Arguments specifically for an integration that is powered by an MCP server."; readonly properties: { readonly args: { readonly anyOf: readonly [{ readonly items: { readonly type: "string"; }; readonly type: "array"; }, { readonly type: "null"; }]; readonly title: "Args"; }; readonly command: { readonly title: "Command"; readonly type: "string"; }; readonly type: { readonly const: "mcp"; readonly title: "Type"; readonly type: "string"; }; }; readonly required: readonly ["type", "command"]; readonly title: "MCPIntegrationArgs"; readonly type: "object"; }; export declare const IntegrationTemplateSchema: { readonly description: "Class representation of the server templates that we support. This matches the structure\nof server templates under resources/integrations/templates/*"; readonly properties: { readonly args: { readonly discriminator: { readonly mapping: { readonly mcp: "#/components/schemas/MCPIntegrationArgs"; }; readonly propertyName: "type"; }; readonly oneOf: readonly [{ readonly $ref: "#/components/schemas/MCPIntegrationArgs"; }]; readonly title: "Args"; }; readonly auth_scheme: { readonly anyOf: readonly [{ readonly $ref: "#/components/schemas/IntegrationAuthScheme"; }, { readonly type: "null"; }]; }; readonly default_policies: { readonly $ref: "#/components/schemas/IntegrationDefaultPolicies"; }; readonly name: { readonly title: "Name"; readonly type: "string"; }; readonly oauth_authorizer: { readonly anyOf: readonly [{ readonly $ref: "#/components/schemas/IntegrationOAuthAuthorizer"; }, { readonly type: "null"; }]; }; readonly repository: { readonly title: "Repository"; readonly type: "string"; }; reado