{ "openapi" : "3.1.0", "info" : { "title" : "Coral Server API", "version" : "1.0" }, "externalDocs" : { "url" : "/" }, "servers" : [ ], "tags" : [ ], "paths" : { "/api/v1/sessions/{namespace}" : { "get" : { "tags" : [ "sessions" ], "summary" : "List sessions in namespace", "description" : "Returns a list of all sessions in a specific namespace", "operationId" : "getSessionsInNamespace", "parameters" : [ { "name" : "namespace", "in" : "path", "description" : "The namespace to list sessions from", "required" : true, "deprecated" : false, "explode" : false, "schema" : { "type" : "string", "title" : "String" } } ], "responses" : { "200" : { "description" : "Success", "headers" : { }, "content" : { "application/json" : { "schema" : { "type" : "array", "items" : { "type" : "string", "title" : "String" }, "title" : "ArrayList" } } } }, "404" : { "description" : "Invalid namespace provided", "headers" : { }, "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RouteException" } } } } }, "deprecated" : false, "security" : [ { "token" : [ ] } ] }, "post" : { "tags" : [ "sessions" ], "summary" : "Create session", "description" : "Creates a new session in a given namespace", "operationId" : "createSession", "parameters" : [ { "name" : "namespace", "in" : "path", "description" : "The namespace this session should be created in. This namespace will be created if it does not exist.", "required" : true, "deprecated" : false, "explode" : false, "schema" : { "type" : "string", "title" : "String" } } ], "requestBody" : { "description" : "Graph of agents to be used in the session", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/AgentGraphRequest" } } }, "required" : false }, "responses" : { "200" : { "description" : "Success", "headers" : { }, "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/SessionIdentifier" } } } }, "403" : { "description" : "Invalid application ID or privacy key", "headers" : { }, "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RouteException" } } } }, "400" : { "description" : "The agent graph is invalid and could not be processed", "headers" : { }, "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RouteException" } } } } }, "deprecated" : false, "security" : [ { "token" : [ ] } ] } }, "/api/v1/sessions" : { "get" : { "tags" : [ "sessions" ], "summary" : "Get all sessions from all namespaces", "description" : "Returns a list of namespaces containing their respective sessions", "operationId" : "getAllSessions", "parameters" : [ ], "responses" : { "200" : { "description" : "Success", "headers" : { }, "content" : { "application/json" : { "schema" : { "type" : "array", "items" : { "type" : "string", "title" : "String" }, "title" : "ArrayList" } } } } }, "deprecated" : false, "security" : [ { "token" : [ ] } ] } }, "/api/v1/sessions/{namespace}/{sessionId}" : { "get" : { "tags" : [ "sessions" ], "summary" : "Get session state", "description" : "Returns the current state of a session, the agents, threads and their messages", "operationId" : "getSessionState", "parameters" : [ { "name" : "namespace", "in" : "path", "description" : "The namespace of the session", "required" : true, "deprecated" : false, "explode" : false, "schema" : { "type" : "string", "title" : "String" } }, { "name" : "sessionId", "in" : "path", "description" : "The sessionId of the session", "required" : true, "deprecated" : false, "explode" : false, "schema" : { "type" : "string", "title" : "String" } } ], "responses" : { "200" : { "description" : "Success", "headers" : { }, "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/SessionState" } } } }, "404" : { "description" : "If either namespace or session ID is invalid", "headers" : { }, "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RouteException" } } } } }, "deprecated" : false, "security" : [ { "token" : [ ] } ] }, "delete" : { "tags" : [ "sessions" ], "summary" : "Close an active session", "description" : "Closes an active session, cancelling all running agents", "operationId" : "closeSession", "parameters" : [ { "name" : "namespace", "in" : "path", "description" : "The namespace of the session to close", "required" : true, "deprecated" : false, "explode" : false, "schema" : { "type" : "string", "title" : "String" } }, { "name" : "sessionId", "in" : "path", "description" : "The sessionId of the session to close", "required" : true, "deprecated" : false, "explode" : false, "schema" : { "type" : "string", "title" : "String" } } ], "responses" : { "200" : { "description" : "Success", "headers" : { } }, "404" : { "description" : "If either namespace or session ID is invalid", "headers" : { }, "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RouteException" } } } } }, "deprecated" : false, "security" : [ { "token" : [ ] } ] } }, "/api/v1/registry" : { "get" : { "tags" : [ "registry" ], "summary" : "Get registry agents", "description" : "Returns a list of all agents available in this servers registry", "operationId" : "getRegistryAgents", "parameters" : [ ], "responses" : { "200" : { "description" : "Success", "headers" : { }, "content" : { "application/json" : { "schema" : { "type" : "array", "items" : { "$ref" : "#/components/schemas/AgentRegistrySource" }, "title" : "ArrayList" } } } } }, "deprecated" : false, "security" : [ { "token" : [ ] } ] } }, "/api/v1/registry/local/{agentName}/{agentVersion}" : { "get" : { "tags" : [ "registry" ], "summary" : "Inspect local registry agent", "description" : "Returns all details about a specific agent in the local registry", "operationId" : "inspectLocalAgent", "parameters" : [ { "name" : "agentName", "in" : "path", "description" : "The name of the agent", "required" : true, "deprecated" : false, "explode" : false, "schema" : { "type" : "string", "title" : "String" } }, { "name" : "agentVersion", "in" : "path", "description" : "The version of the agent", "required" : true, "deprecated" : false, "explode" : false, "schema" : { "type" : "string", "title" : "String" } } ], "responses" : { "200" : { "description" : "Success", "headers" : { }, "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestrictedRegistryAgent" } } } }, "404" : { "description" : "Agent not found", "headers" : { }, "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RouteException" } } } } }, "deprecated" : false, "security" : [ { "token" : [ ] } ] } }, "/api/v1/registry/marketplace/{agentName}/{agentVersion}" : { "get" : { "tags" : [ "registry" ], "summary" : "Inspect marketplace registry agent", "description" : "Returns all details about a specific agent in the marketplace", "operationId" : "inspectMarketplaceAgent", "parameters" : [ { "name" : "agentName", "in" : "path", "description" : "The name of the agent", "required" : true, "deprecated" : false, "explode" : false, "schema" : { "type" : "string", "title" : "String" } }, { "name" : "agentVersion", "in" : "path", "description" : "The version of the agent", "required" : true, "deprecated" : false, "explode" : false, "schema" : { "type" : "string", "title" : "String" } } ], "responses" : { "200" : { "description" : "Success", "headers" : { }, "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestrictedRegistryAgent" } } } }, "404" : { "description" : "Agent not found", "headers" : { }, "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RouteException" } } } } }, "deprecated" : false, "security" : [ { "token" : [ ] } ] } }, "/api/v1/registry/linked/{linkedServerName}/{agentName}/{agentVersion}" : { "get" : { "tags" : [ "registry" ], "summary" : "Inspect linked server registry agent", "description" : "Returns all details about a specific agent from a specific linked server", "operationId" : "inspectLinkedServerAgent", "parameters" : [ { "name" : "linkedServerName", "in" : "path", "description" : "The name of the linked server to source the details of this agent from", "required" : true, "deprecated" : false, "explode" : false, "schema" : { "type" : "string", "title" : "String" } }, { "name" : "agentName", "in" : "path", "description" : "The name of the agent", "required" : true, "deprecated" : false, "explode" : false, "schema" : { "type" : "string", "title" : "String" } }, { "name" : "agentVersion", "in" : "path", "description" : "The version of the agent", "required" : true, "deprecated" : false, "explode" : false, "schema" : { "type" : "string", "title" : "String" } } ], "responses" : { "200" : { "description" : "Success", "headers" : { }, "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestrictedRegistryAgent" } } } }, "404" : { "description" : "Agent or linked server not found", "headers" : { }, "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RouteException" } } } } }, "deprecated" : false, "security" : [ { "token" : [ ] } ] } }, "/api/v1/agent-rpc/rental-claim" : { "post" : { "tags" : [ "agent-rpc" ], "summary" : "Submit rental agent claim", "description" : "Requests a certain amount of money to be paid for a work done by a rental agent", "operationId" : "submitRentalClaim", "parameters" : [ { "name" : "remoteSessionId", "in" : "path", "description" : "The remote session ID", "required" : true, "deprecated" : false, "explode" : false, "schema" : { "type" : "string", "title" : "String" } } ], "requestBody" : { "description" : "A description of the work done and the payment required", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/AgentPaymentClaimRequest" } } }, "required" : false }, "responses" : { "200" : { "description" : "Success", "headers" : { }, "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/AgentRemainingBudget" } } } }, "404" : { "description" : "Remote session not found", "headers" : { }, "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RouteException" } } } }, "400" : { "description" : "No payment associated with the session", "headers" : { }, "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RouteException" } } } } }, "deprecated" : false, "security" : [ { "agentSecret" : [ ] } ] } }, "/api/v1/agent-rpc/x402" : { "post" : { "tags" : [ "agent-rpc" ], "summary" : "Request for x402 proxying", "description" : "Allows an agent to request that the server pays for an x402 service by proxy", "operationId" : "requestX402Proxy", "parameters" : [ { "name" : "agentSecret", "in" : "path", "description" : "The agent's unique secret", "required" : true, "deprecated" : false, "explode" : false, "schema" : { "type" : "string", "title" : "String" } } ], "requestBody" : { "description" : "The request to be proxied", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/X402ProxyRequest" } } }, "required" : false }, "responses" : { "200" : { "description" : "Success", "headers" : { }, "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/X402ProxiedResponse" } } } } }, "deprecated" : false, "security" : [ { "agentSecret" : [ ] } ] } }, "/api/v1/agent-rental/reserve" : { "post" : { "tags" : [ "agent-rental" ], "summary" : "Reserve a list of rental agents", "description" : "Reserves a list of rental agents", "operationId" : "reserveAgents", "parameters" : [ ], "requestBody" : { "description" : "A list of agents to claim", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/PaidGraphAgentRequest" } } }, "required" : false }, "responses" : { "200" : { "description" : "Success", "headers" : { }, "content" : { "application/json" : { "schema" : { "type" : "string", "title" : "String" } } } }, "400" : { "description" : "GraphAgentRequest is invalid in a remote context", "headers" : { }, "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RouteException" } } } } }, "deprecated" : false } }, "/api/v1/agent-rental/wallet" : { "get" : { "tags" : [ "agent-rental" ], "summary" : "Get wallet address for rental agents", "description" : "Returns the wallet address payments should be made to for renting agents from this server", "operationId" : "getPublicWallet", "parameters" : [ ], "responses" : { "200" : { "description" : "Success", "headers" : { }, "content" : { "application/json" : { "schema" : { "type" : "string", "title" : "String" } } } }, "403" : { "description" : "This server is not configured to allow rental agents", "headers" : { }, "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RouteException" } } } } }, "deprecated" : false } }, "/api/v1/agent-rental/catalog" : { "get" : { "tags" : [ "agent-rental" ], "summary" : "Get available rental agents", "description" : "Returns a list of all agents available to rent from this server", "operationId" : "getRentalAgents", "parameters" : [ ], "responses" : { "200" : { "description" : "Success", "headers" : { }, "content" : { "application/json" : { "schema" : { "type" : "array", "items" : { "$ref" : "#/components/schemas/PublicRestrictedRegistryAgent" }, "title" : "ArrayList" } } } } }, "deprecated" : false } } }, "components" : { "schemas" : { "McpToolName" : { "type" : "string", "enum" : [ "coral_create_thread", "coral_close_thread", "coral_add_participant", "coral_remove_participant", "coral_send_message", "coral_wait_for_message", "coral_wait_for_mention", "coral_wait_for_agent", "coral_close_session" ], "title" : "McpToolName" }, "ServerEvent" : { "anyOf" : [ { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "namespace_closed" ], "title" : "String" }, "namespace" : { "type" : "string", "title" : "String" } }, "required" : [ "namespace", "type" ], "title" : "namespace_closed" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "namespace_created" ], "title" : "String" }, "namespace" : { "type" : "string", "title" : "String" } }, "required" : [ "namespace", "type" ], "title" : "namespace_created" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "session_closed" ], "title" : "String" }, "sessionId" : { "type" : "string", "title" : "String" }, "namespace" : { "type" : "string", "title" : "String" } }, "required" : [ "namespace", "sessionId", "type" ], "title" : "session_closed" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "session_created" ], "title" : "String" }, "sessionId" : { "type" : "string", "title" : "String" }, "namespace" : { "type" : "string", "title" : "String" } }, "required" : [ "namespace", "sessionId", "type" ], "title" : "session_created" } ], "discriminator" : { "propertyName" : "type" }, "title" : "ServerEvent" }, "SessionEvent" : { "anyOf" : [ { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "agent_connected" ], "title" : "String" }, "name" : { "type" : "string", "title" : "String" } }, "required" : [ "name", "type" ], "title" : "agent_connected" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "agent_wait_start" ], "title" : "String" }, "name" : { "type" : "string", "title" : "String" }, "filters" : { "type" : "array", "items" : { "anyOf" : [ { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "from" ], "title" : "String" }, "name" : { "type" : "string", "title" : "String" } }, "required" : [ "name", "type" ], "title" : "from" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "mentions" ], "title" : "String" }, "name" : { "type" : "string", "title" : "String" } }, "required" : [ "name", "type" ], "title" : "mentions" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "thread" ], "title" : "String" }, "threadId" : { "type" : "string", "title" : "String" } }, "required" : [ "threadId", "type" ], "title" : "thread" } ], "discriminator" : { "propertyName" : "type" }, "title" : "SessionThreadMessageFilter" }, "title" : "LinkedHashSet", "uniqueItems" : true } }, "required" : [ "filters", "name", "type" ], "title" : "agent_wait_start" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "agent_wait_stop" ], "title" : "String" }, "name" : { "type" : "string", "title" : "String" }, "message" : { "$ref" : "#/components/schemas/SessionThreadMessage" } }, "required" : [ "message", "name", "type" ], "title" : "agent_wait_stop" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "docker_container_created" ], "title" : "String" }, "containerId" : { "type" : "string", "title" : "String" } }, "required" : [ "containerId", "type" ], "title" : "docker_container_created" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "docker_container_removed" ], "title" : "String" }, "containerId" : { "type" : "string", "title" : "String" } }, "required" : [ "containerId", "type" ], "title" : "docker_container_removed" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "runtime_started" ], "title" : "String" }, "name" : { "type" : "string", "title" : "String" } }, "required" : [ "name", "type" ], "title" : "runtime_started" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "runtime_stopped" ], "title" : "String" }, "name" : { "type" : "string", "title" : "String" } }, "required" : [ "name", "type" ], "title" : "runtime_stopped" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "thread_closed" ], "title" : "String" }, "threadId" : { "type" : "string", "title" : "String" }, "summary" : { "type" : "string", "title" : "String" } }, "required" : [ "summary", "threadId", "type" ], "title" : "thread_closed" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "thread_created" ], "title" : "String" }, "thread" : { "$ref" : "#/components/schemas/SessionThread" } }, "required" : [ "thread", "type" ], "title" : "thread_created" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "thread_message_sent" ], "title" : "String" }, "message" : { "$ref" : "#/components/schemas/SessionThreadMessage" } }, "required" : [ "message", "type" ], "title" : "thread_message_sent" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "thread_participant_added" ], "title" : "String" }, "threadId" : { "type" : "string", "title" : "String" }, "name" : { "type" : "string", "title" : "String" } }, "required" : [ "name", "threadId", "type" ], "title" : "thread_participant_added" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "thread_participant_removed" ], "title" : "String" }, "threadId" : { "type" : "string", "title" : "String" }, "name" : { "type" : "string", "title" : "String" } }, "required" : [ "name", "threadId", "type" ], "title" : "thread_participant_removed" } ], "discriminator" : { "propertyName" : "type" }, "title" : "SessionEvent" }, "SessionThreadMessage" : { "type" : "object", "properties" : { "id" : { "type" : "string", "title" : "String" }, "threadId" : { "type" : "string", "title" : "String" }, "text" : { "type" : "string", "title" : "String" }, "senderName" : { "type" : "string", "title" : "String" }, "timestamp" : { "type" : "integer", "format" : "int64", "title" : "Long" }, "mentionNames" : { "type" : "array", "items" : { "type" : "string", "title" : "String" }, "title" : "LinkedHashSet", "uniqueItems" : true } }, "required" : [ "id", "mentionNames", "senderName", "text", "threadId", "timestamp" ], "title" : "SessionThreadMessage" }, "SessionThread" : { "type" : "object", "properties" : { "id" : { "type" : "string", "title" : "String" }, "name" : { "type" : "string", "title" : "String" }, "creatorName" : { "type" : "string", "title" : "String" }, "participants" : { "type" : "array", "items" : { "type" : "string", "title" : "String" }, "title" : "LinkedHashSet", "uniqueItems" : true }, "messages" : { "type" : "array", "items" : { "$ref" : "#/components/schemas/SessionThreadMessage" }, "title" : "ArrayList" }, "state" : { "anyOf" : [ { "type" : "object", "properties" : { "state" : { "type" : "string", "enum" : [ "closed" ], "title" : "String" }, "summary" : { "type" : "string", "title" : "String" } }, "required" : [ "state", "summary" ], "title" : "closed" }, { "type" : "object", "properties" : { "state" : { "type" : "string", "enum" : [ "open" ], "title" : "String" } }, "required" : [ "state" ], "title" : "open" } ], "discriminator" : { "propertyName" : "state" }, "title" : "SessionThreadState" } }, "required" : [ "creatorName", "id", "messages", "name", "participants", "state" ], "title" : "SessionThread" }, "GraphAgentRequest" : { "type" : "object", "description" : "A request for an agent. GraphAgentRequest -> GraphAgent", "properties" : { "id" : { "$ref" : "#/components/schemas/RegistryAgentIdentifier", "description" : "The ID of this agent in the registry" }, "name" : { "type" : "string", "description" : "A given name for this agent in the session/group", "title" : "String" }, "description" : { "type" : "string", "description" : "An optional override for the description of this agent", "title" : "String" }, "options" : { "type" : "object", "additionalProperties" : { "anyOf" : [ { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "blob" ], "title" : "String" }, "value" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 127, "minimum" : -128, "title" : "Byte" }, "title" : "ByteArray" } }, "required" : [ "type", "value" ], "title" : "blob" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[blob]" ], "title" : "String" }, "value" : { "type" : "array", "items" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 127, "minimum" : -128, "title" : "Byte" }, "title" : "ByteArray" }, "title" : "ArrayList>" } }, "required" : [ "type", "value" ], "title" : "list[blob]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "bool" ], "title" : "String" }, "value" : { "type" : "boolean", "title" : "Boolean" } }, "required" : [ "type", "value" ], "title" : "bool" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "i8" ], "title" : "String" }, "value" : { "type" : "integer", "maximum" : 127, "minimum" : -128, "title" : "Byte" } }, "required" : [ "type", "value" ], "title" : "i8" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[i8]" ], "title" : "String" }, "value" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 127, "minimum" : -128, "title" : "Byte" }, "title" : "ArrayList" } }, "required" : [ "type", "value" ], "title" : "list[i8]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "f64" ], "title" : "String" }, "value" : { "type" : "number", "format" : "double", "title" : "Double" } }, "required" : [ "type", "value" ], "title" : "f64" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[f64]" ], "title" : "String" }, "value" : { "type" : "array", "items" : { "type" : "number", "format" : "double", "title" : "Double" }, "title" : "ArrayList" } }, "required" : [ "type", "value" ], "title" : "list[f64]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "f32" ], "title" : "String" }, "value" : { "type" : "number", "format" : "float", "title" : "Float" } }, "required" : [ "type", "value" ], "title" : "f32" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[f32]" ], "title" : "String" }, "value" : { "type" : "array", "items" : { "type" : "number", "format" : "float", "title" : "Float" }, "title" : "ArrayList" } }, "required" : [ "type", "value" ], "title" : "list[f32]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "i32" ], "title" : "String" }, "value" : { "type" : "integer", "format" : "int32", "title" : "Int" } }, "required" : [ "type", "value" ], "title" : "i32" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[i32]" ], "title" : "String" }, "value" : { "type" : "array", "items" : { "type" : "integer", "format" : "int32", "title" : "Int" }, "title" : "ArrayList" } }, "required" : [ "type", "value" ], "title" : "list[i32]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "i64" ], "title" : "String" }, "value" : { "type" : "integer", "format" : "int64", "title" : "Long" } }, "required" : [ "type", "value" ], "title" : "i64" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[i64]" ], "title" : "String" }, "value" : { "type" : "array", "items" : { "type" : "integer", "format" : "int64", "title" : "Long" }, "title" : "ArrayList" } }, "required" : [ "type", "value" ], "title" : "list[i64]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "i16" ], "title" : "String" }, "value" : { "type" : "integer", "maximum" : 32767, "minimum" : -32768, "title" : "Short" } }, "required" : [ "type", "value" ], "title" : "i16" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[i16]" ], "title" : "String" }, "value" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 32767, "minimum" : -32768, "title" : "Short" }, "title" : "ArrayList" } }, "required" : [ "type", "value" ], "title" : "list[i16]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "string" ], "title" : "String" }, "value" : { "type" : "string", "title" : "String" } }, "required" : [ "type", "value" ], "title" : "string" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[string]" ], "title" : "String" }, "value" : { "type" : "array", "items" : { "type" : "string", "title" : "String" }, "title" : "ArrayList" } }, "required" : [ "type", "value" ], "title" : "list[string]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "u8" ], "title" : "String" }, "value" : { "type" : "integer", "maximum" : 255, "minimum" : 0, "title" : "UByte" } }, "required" : [ "type", "value" ], "title" : "u8" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[u8]" ], "title" : "String" }, "value" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 255, "minimum" : 0, "title" : "UByte" }, "title" : "ArrayList" } }, "required" : [ "type", "value" ], "title" : "list[u8]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "u32" ], "title" : "String" }, "value" : { "type" : "integer", "maximum" : 4294967295, "minimum" : 0, "title" : "UInt" } }, "required" : [ "type", "value" ], "title" : "u32" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[u32]" ], "title" : "String" }, "value" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 4294967295, "minimum" : 0, "title" : "UInt" }, "title" : "ArrayList" } }, "required" : [ "type", "value" ], "title" : "list[u32]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "u64" ], "title" : "String" }, "value" : { "type" : "string", "title" : "String" } }, "required" : [ "type", "value" ], "title" : "u64" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[u64]" ], "title" : "String" }, "value" : { "type" : "array", "items" : { "type" : "string", "title" : "String" }, "title" : "ArrayList" } }, "required" : [ "type", "value" ], "title" : "list[u64]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "u16" ], "title" : "String" }, "value" : { "type" : "integer", "maximum" : 65535, "minimum" : 0, "title" : "UShort" } }, "required" : [ "type", "value" ], "title" : "u16" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[u16]" ], "title" : "String" }, "value" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 65535, "minimum" : 0, "title" : "UShort" }, "title" : "ArrayList" } }, "required" : [ "type", "value" ], "title" : "list[u16]" } ], "discriminator" : { "propertyName" : "type" }, "title" : "AgentOptionValue" }, "description" : "The arguments to pass to the agent", "title" : "LinkedHashMap" }, "systemPrompt" : { "type" : "string", "description" : "The system prompt/developer text/preamble passed to the agent", "title" : "String" }, "blocking" : { "type" : "boolean", "description" : "All blocking agents in a group must be instantiated before the group can communicate. Non-blocking agents' contributions to groups are optional", "title" : "Boolean" }, "customToolAccess" : { "type" : "array", "description" : "A list of custom tools that this agent can access. The custom tools must be defined in the parent AgentGraphRequest object", "items" : { "type" : "string", "title" : "String" }, "title" : "LinkedHashSet", "uniqueItems" : true }, "plugins" : { "type" : "array", "description" : "Plugins that should be installed on this agent. See GraphAgentPlugin for more information", "items" : { "anyOf" : [ { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "close_session_tool" ], "title" : "String" } }, "required" : [ "type" ], "title" : "close_session_tool" } ], "discriminator" : { "propertyName" : "type" }, "title" : "GraphAgentPlugin" }, "title" : "LinkedHashSet", "uniqueItems" : true }, "provider" : { "anyOf" : [ { "type" : "object", "description" : "The agent will be provided by a linked server", "properties" : { "type" : { "type" : "string", "enum" : [ "linked" ], "title" : "String" }, "linkedServerName" : { "type" : "string", "title" : "String" }, "runtime" : { "$ref" : "#/components/schemas/RuntimeId" } }, "required" : [ "linkedServerName", "runtime", "type" ], "title" : "linked" }, { "type" : "object", "description" : "The agent will be provided by this server", "properties" : { "type" : { "type" : "string", "enum" : [ "local" ], "title" : "String" }, "runtime" : { "$ref" : "#/components/schemas/RuntimeId" } }, "required" : [ "runtime", "type" ], "title" : "local" }, { "type" : "object", "description" : "A remote agent provided by a specific server", "properties" : { "type" : { "type" : "string", "enum" : [ "remote" ], "title" : "String" }, "server" : { "$ref" : "#/components/schemas/GraphAgentServer", "description" : "The server that is providing this remote agent" }, "runtime" : { "$ref" : "#/components/schemas/RuntimeId", "description" : "The runtime to be used on the remote server. Likely Docker or Phala" }, "wallet" : { "type" : "string", "description" : "The wallet address of the server that is providing this remote agent", "title" : "String" }, "maxCost" : { "anyOf" : [ { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "coral" ], "title" : "String" }, "amount" : { "type" : "number", "format" : "double", "title" : "Double" } }, "required" : [ "amount", "type" ], "title" : "coral" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "micro_coral" ], "title" : "String" }, "amount" : { "type" : "integer", "format" : "int64", "title" : "Long" } }, "required" : [ "amount", "type" ], "title" : "micro_coral" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "usd" ], "title" : "String" }, "amount" : { "type" : "number", "format" : "double", "title" : "Double" } }, "required" : [ "amount", "type" ], "title" : "usd" } ], "description" : "The max cost of this agent", "discriminator" : { "propertyName" : "type" }, "title" : "AgentClaimAmount" }, "paymentSessionId" : { "type" : "string", "description" : "The payment session ID for this remote agent. This will be shared with all other remote agents in the graph", "title" : "String" } }, "required" : [ "maxCost", "paymentSessionId", "runtime", "server", "type", "wallet" ], "title" : "remote" }, { "type" : "object", "description" : "A request for a remote agent and a list of places to try and source a server from", "properties" : { "type" : { "type" : "string", "enum" : [ "remote_request" ], "title" : "String" }, "runtime" : { "$ref" : "#/components/schemas/RuntimeId", "description" : "The runtime that should be used for this remote agent. Servers can export only specific runtimes so the runtime choice may narrow servers that can adequately provide the agent" }, "maxCost" : { "anyOf" : [ { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "coral" ], "title" : "String" }, "amount" : { "type" : "number", "format" : "double", "title" : "Double" } }, "required" : [ "amount", "type" ], "title" : "coral" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "micro_coral" ], "title" : "String" }, "amount" : { "type" : "integer", "format" : "int64", "title" : "Long" } }, "required" : [ "amount", "type" ], "title" : "micro_coral" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "usd" ], "title" : "String" }, "amount" : { "type" : "number", "format" : "double", "title" : "Double" } }, "required" : [ "amount", "type" ], "title" : "usd" } ], "description" : "The maximum we are willing to pay for this remote agent, note that if this is not high enough there may be no remotes willing to provide the agent", "discriminator" : { "propertyName" : "type" }, "title" : "AgentClaimAmount" }, "serverSource" : { "anyOf" : [ { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "org.coralprotocol.coralserver.agent.graph.server.GraphAgentServerSource.Indexer" ], "title" : "String" }, "indexer" : { "type" : "string", "title" : "String" } }, "required" : [ "indexer", "type" ], "title" : "Indexer" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "servers" ], "title" : "String" }, "servers" : { "type" : "array", "items" : { "$ref" : "#/components/schemas/GraphAgentServer" }, "title" : "ArrayList" } }, "required" : [ "servers", "type" ], "title" : "servers" } ], "description" : "A description of which servers should be queried for this remote agent request", "discriminator" : { "propertyName" : "type" }, "title" : "GraphAgentServerSource" }, "serverScoring" : { "anyOf" : [ { "type" : "object", "description" : "Custom server scoring. Weights can be added on a flat or multiplier basis per attribute", "properties" : { "type" : { "type" : "string", "enum" : [ "custom" ], "title" : "String" }, "scorers" : { "type" : "array", "items" : { "anyOf" : [ { "type" : "object", "description" : "The effect will be applied for every attribute of the specified type with a boolean false value", "properties" : { "op" : { "type" : "string", "enum" : [ "is_false" ], "title" : "String" }, "type" : { "$ref" : "#/components/schemas/GraphAgentServerAttributeType" }, "effect" : { "$ref" : "#/components/schemas/flat", "description" : "A flat negative or positive weight" } }, "required" : [ "effect", "op", "type" ], "title" : "is_false" }, { "type" : "object", "description" : "The effect will be applied if the no attribute of the specified type is present", "properties" : { "op" : { "type" : "string", "enum" : [ "is_not_present" ], "title" : "String" }, "type" : { "$ref" : "#/components/schemas/GraphAgentServerAttributeType" }, "effect" : { "$ref" : "#/components/schemas/flat", "description" : "A flat negative or positive weight" } }, "required" : [ "effect", "op", "type" ], "title" : "is_not_present" }, { "type" : "object", "description" : "The effect will be applied for every attribute of the specified type", "properties" : { "op" : { "type" : "string", "enum" : [ "is_present" ], "title" : "String" }, "type" : { "$ref" : "#/components/schemas/GraphAgentServerAttributeType" }, "effect" : { "$ref" : "#/components/schemas/GraphAgentServerScorerEffect" } }, "required" : [ "effect", "op", "type" ], "title" : "is_present" }, { "type" : "object", "description" : "The effect will be applied for every attribute of the specified type with a boolean true value", "properties" : { "op" : { "type" : "string", "enum" : [ "is_true" ], "title" : "String" }, "type" : { "$ref" : "#/components/schemas/GraphAgentServerAttributeType" }, "effect" : { "$ref" : "#/components/schemas/flat", "description" : "A flat negative or positive weight" } }, "required" : [ "effect", "op", "type" ], "title" : "is_true" }, { "type" : "object", "description" : "The effect will be applied for every attribute of the specified type with a matching string value", "properties" : { "op" : { "type" : "string", "enum" : [ "string_equal" ], "title" : "String" }, "type" : { "$ref" : "#/components/schemas/GraphAgentServerAttributeType" }, "string" : { "type" : "string", "title" : "String" }, "effect" : { "$ref" : "#/components/schemas/flat", "description" : "A flat negative or positive weight" } }, "required" : [ "effect", "op", "string", "type" ], "title" : "string_equal" }, { "type" : "object", "description" : "The effect will be applied for every attribute of the specified type with a non-matching string value", "properties" : { "op" : { "type" : "string", "enum" : [ "string_not_equal" ], "title" : "String" }, "type" : { "$ref" : "#/components/schemas/GraphAgentServerAttributeType" }, "string" : { "type" : "string", "title" : "String" }, "effect" : { "$ref" : "#/components/schemas/flat", "description" : "A flat negative or positive weight" } }, "required" : [ "effect", "op", "string", "type" ], "title" : "string_not_equal" } ], "discriminator" : { "propertyName" : "op" }, "title" : "GraphAgentServerCustomScorer" }, "title" : "ArrayList" } }, "required" : [ "scorers", "type" ], "title" : "custom" }, { "type" : "object", "description" : "Default server scoring. No weights assigned to any server attribute", "properties" : { "type" : { "type" : "string", "enum" : [ "default" ], "title" : "String" } }, "required" : [ "type" ], "title" : "default" } ], "description" : "Customisation for the scoring of servers", "discriminator" : { "propertyName" : "type" }, "title" : "GraphAgentServerScoring" } }, "required" : [ "maxCost", "runtime", "serverSource", "type" ], "title" : "remote_request" } ], "description" : "The server that should provide this agent and the runtime to use", "discriminator" : { "propertyName" : "type" }, "title" : "GraphAgentProvider" }, "x402Budgets" : { "type" : "array", "description" : "An optional list of resources and an accompanied budget that this agent may spend on services that accept x402 payments", "items" : { "$ref" : "#/components/schemas/X402BudgetedResource" }, "title" : "ArrayList" } }, "required" : [ "customToolAccess", "id", "name", "options", "plugins", "provider", "x402Budgets" ], "title" : "GraphAgentRequest" }, "RegistryAgentIdentifier" : { "type" : "object", "properties" : { "name" : { "type" : "string", "description" : "The exact name of the agent in the registry", "title" : "String" }, "version" : { "type" : "string", "description" : "The exact version of the agent in the registry", "title" : "String" }, "registrySourceId" : { "anyOf" : [ { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "linked" ], "title" : "String" }, "linkedServerId" : { "type" : "string", "title" : "String" } }, "required" : [ "linkedServerId", "type" ], "title" : "linked" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "local" ], "title" : "String" } }, "required" : [ "type" ], "title" : "local" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "marketplace" ], "title" : "String" } }, "required" : [ "type" ], "title" : "marketplace" } ], "description" : "The identifier for the registry source that contains this agent", "discriminator" : { "propertyName" : "type" }, "title" : "AgentRegistrySourceIdentifier" } }, "required" : [ "name", "registrySourceId", "version" ], "title" : "RegistryAgentIdentifier" }, "RuntimeId" : { "type" : "string", "enum" : [ "executable", "docker", "function" ], "title" : "RuntimeId" }, "GraphAgentServer" : { "type" : "object", "properties" : { "address" : { "type" : "string", "title" : "String" }, "port" : { "type" : "integer", "maximum" : 65535, "minimum" : 0, "title" : "UShort" }, "secure" : { "type" : "boolean", "title" : "Boolean" }, "attributes" : { "type" : "array", "items" : { "anyOf" : [ { "type" : "object", "properties" : { "format" : { "type" : "string", "enum" : [ "boolean" ], "title" : "String" }, "type" : { "$ref" : "#/components/schemas/GraphAgentServerAttributeType" }, "value" : { "type" : "boolean", "title" : "Boolean" } }, "required" : [ "format", "type", "value" ], "title" : "boolean" }, { "type" : "object", "properties" : { "format" : { "type" : "string", "enum" : [ "number" ], "title" : "String" }, "type" : { "$ref" : "#/components/schemas/GraphAgentServerAttributeType" }, "value" : { "type" : "number", "format" : "double", "title" : "Double" } }, "required" : [ "format", "type", "value" ], "title" : "number" }, { "type" : "object", "properties" : { "format" : { "type" : "string", "enum" : [ "string" ], "title" : "String" }, "type" : { "$ref" : "#/components/schemas/GraphAgentServerAttributeType" }, "value" : { "type" : "string", "title" : "String" } }, "required" : [ "format", "type", "value" ], "title" : "string" } ], "discriminator" : { "propertyName" : "format" }, "title" : "GraphAgentServerAttribute" }, "title" : "ArrayList" } }, "required" : [ "address", "attributes", "port", "secure" ], "title" : "GraphAgentServer" }, "GraphAgentServerAttributeType" : { "type" : "string", "enum" : [ "geographic_location", "attested_by" ], "title" : "GraphAgentServerAttributeType" }, "flat" : { "type" : "object", "description" : "A flat negative or positive weight", "properties" : { "weight" : { "type" : "number", "format" : "double", "title" : "Double" } }, "required" : [ "weight" ], "title" : "flat" }, "GraphAgentServerScorerEffect" : { "anyOf" : [ { "type" : "object", "description" : "A flat negative or positive weight", "properties" : { "weight" : { "type" : "number", "format" : "double", "title" : "Double" } }, "required" : [ "weight" ], "title" : "flat" }, { "type" : "object", "description" : "A multiplier weight, this effect will only multiply against attributes with a number type", "properties" : { "weight" : { "type" : "number", "format" : "double", "title" : "Double" } }, "required" : [ "weight" ], "title" : "multiplier" } ], "title" : "GraphAgentServerScorerEffect" }, "X402BudgetedResource" : { "type" : "object", "description" : "A budget given to an agent for a specific resource", "properties" : { "priority" : { "type" : "integer", "format" : "int32", "description" : "The priority of this budget. If a x402 service accepts multiple resources and an agent was given a budget for multiple resources, the resource with the highest priority will be used until it is consumed", "title" : "Int" }, "resource" : { "type" : "string", "description" : "The this budget is for", "title" : "String" }, "remainingBudget" : { "type" : "integer", "description" : "The remaining budget for this resource in atomic units", "title" : "ULong" } }, "required" : [ "priority", "remainingBudget", "resource" ], "title" : "X402BudgetedResource" }, "CustomTool" : { "type" : "object", "properties" : { "transport" : { "anyOf" : [ { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "http" ], "title" : "String" }, "url" : { "type" : "string", "title" : "UriString" } }, "required" : [ "type", "url" ], "title" : "http" } ], "discriminator" : { "propertyName" : "type" }, "title" : "ToolTransport" }, "toolSchema" : { "$ref" : "#/components/schemas/Tool" } }, "required" : [ "toolSchema", "transport" ], "title" : "CustomTool" }, "Tool" : { "type" : "object", "properties" : { "name" : { "type" : "string", "title" : "String" }, "description" : { "type" : "string", "title" : "String" }, "inputSchema" : { "$ref" : "#/components/schemas/Input" }, "outputSchema" : { "$ref" : "#/components/schemas/Output" }, "annotations" : { "$ref" : "#/components/schemas/ToolAnnotations" } }, "required" : [ "inputSchema", "name" ], "title" : "Tool" }, "Input" : { "type" : "object", "properties" : { "properties" : { "type" : "object", "additionalProperties" : { "$ref" : "#/components/schemas/JsonElement" }, "title" : "JsonObject" }, "required" : { "type" : "array", "items" : { "type" : "string", "title" : "String" }, "title" : "ArrayList" }, "type" : { "type" : "string", "title" : "String" } }, "required" : [ "properties", "type" ], "title" : "Input" }, "JsonElement" : { "type" : "object", "properties" : { }, "title" : "JsonElement" }, "Output" : { "type" : "object", "properties" : { "properties" : { "type" : "object", "additionalProperties" : { "$ref" : "#/components/schemas/JsonElement" }, "title" : "JsonObject" }, "required" : { "type" : "array", "items" : { "type" : "string", "title" : "String" }, "title" : "ArrayList" }, "type" : { "type" : "string", "title" : "String" } }, "required" : [ "properties", "type" ], "title" : "Output" }, "ToolAnnotations" : { "type" : "object", "properties" : { "title" : { "type" : "string", "title" : "String" }, "readOnlyHint" : { "type" : "boolean", "title" : "Boolean" }, "destructiveHint" : { "type" : "boolean", "title" : "Boolean" }, "idempotentHint" : { "type" : "boolean", "title" : "Boolean" }, "openWorldHint" : { "type" : "boolean", "title" : "Boolean" } }, "title" : "ToolAnnotations" }, "AgentGraphRequest" : { "type" : "object", "properties" : { "agents" : { "type" : "array", "description" : "Every agent required for this agent graph", "items" : { "$ref" : "#/components/schemas/GraphAgentRequest" }, "title" : "ArrayList" }, "groups" : { "type" : "array", "description" : "A set, containing sets that define the agent groups by name", "items" : { "type" : "array", "items" : { "type" : "string", "title" : "String" }, "title" : "LinkedHashSet", "uniqueItems" : true }, "title" : "LinkedHashSet>", "uniqueItems" : true }, "customTools" : { "type" : "object", "additionalProperties" : { "$ref" : "#/components/schemas/CustomTool" }, "description" : "A map of custom tools to provide to the agents in this graph", "title" : "LinkedHashMap" } }, "required" : [ "agents", "customTools", "groups" ], "title" : "AgentGraphRequest" }, "SessionIdentifier" : { "type" : "object", "properties" : { "namespace" : { "type" : "string", "description" : "The namespace that this session belongs in", "title" : "String" }, "sessionId" : { "type" : "string", "description" : "The unique identifier for the session", "title" : "String" } }, "required" : [ "namespace", "sessionId" ], "title" : "SessionIdentifier" }, "RouteException" : { "type" : "object", "properties" : { "message" : { "type" : "string", "title" : "String" } }, "required" : [ "message" ], "title" : "RouteException" }, "SessionAgentState" : { "type" : "object", "description" : "The state of an agent running in a session", "properties" : { "name" : { "type" : "string", "description" : "The name given for this agent in the AgentGraph, this is unique in the graph", "title" : "String" }, "registryAgentIdentifier" : { "$ref" : "#/components/schemas/RegistryAgentIdentifier", "description" : "The identifier for this agent's registry entry. See RegistryAgent for more information" }, "isWaiting" : { "type" : "boolean", "description" : "True when the agent is waiting for a message from another agent", "title" : "Boolean" }, "isConnected" : { "type" : "boolean", "description" : "True after agent process was launched and made a connection to the Coral MCP server. The agent will not be responsive until connected", "title" : "Boolean" }, "description" : { "type" : "string", "description" : "The description of this agent, given to other agents in the graph", "title" : "String" }, "links" : { "type" : "array", "description" : "A list of agents that this agent is aware of, constructed from agent groups in the AgentGraph", "items" : { "type" : "string", "title" : "String" }, "title" : "LinkedHashSet", "uniqueItems" : true } }, "required" : [ "isConnected", "isWaiting", "links", "name", "registryAgentIdentifier" ], "title" : "SessionAgentState" }, "SessionState" : { "type" : "object", "description" : "The state of a running session", "properties" : { "id" : { "type" : "string", "description" : "The unique identifier for this session", "title" : "String" }, "timestamp" : { "type" : "integer", "format" : "int64", "description" : "The timestamp of when this state was generated", "title" : "Long" }, "namespace" : { "type" : "string", "description" : "The namespace that this session resides in", "title" : "String" }, "agents" : { "type" : "array", "description" : "A list of the states of all agents in this session", "items" : { "$ref" : "#/components/schemas/SessionAgentState" }, "title" : "ArrayList" }, "threads" : { "type" : "array", "description" : "A list of the states of all threads in this session", "items" : { "$ref" : "#/components/schemas/SessionThread" }, "title" : "ArrayList" } }, "required" : [ "agents", "id", "namespace", "threads", "timestamp" ], "title" : "SessionState" }, "AgentRegistrySource" : { "type" : "object", "properties" : { "identifier" : { "anyOf" : [ { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "linked" ], "title" : "String" }, "linkedServerId" : { "type" : "string", "title" : "String" } }, "required" : [ "linkedServerId", "type" ], "title" : "linked" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "local" ], "title" : "String" } }, "required" : [ "type" ], "title" : "local" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "marketplace" ], "title" : "String" } }, "required" : [ "type" ], "title" : "marketplace" } ], "discriminator" : { "propertyName" : "type" }, "title" : "AgentRegistrySourceIdentifier" }, "timestamp" : { "type" : "integer", "format" : "int64", "title" : "Long" }, "agents" : { "type" : "array", "items" : { "$ref" : "#/components/schemas/RegistryAgentCatalog" }, "title" : "ArrayList" } }, "required" : [ "agents", "identifier", "timestamp" ], "title" : "AgentRegistrySource" }, "RegistryAgentCatalog" : { "type" : "object", "description" : "A catalog describing an agent and it's available versions", "properties" : { "name" : { "type" : "string", "description" : "The agent's registry name", "title" : "String" }, "versions" : { "type" : "array", "description" : "All versions this agent is available in", "items" : { "type" : "string", "title" : "String" }, "title" : "ArrayList" } }, "required" : [ "name", "versions" ], "title" : "RegistryAgentCatalog" }, "RegistryAgent" : { "type" : "object", "properties" : { "info" : { "$ref" : "#/components/schemas/RegistryAgentInfo" }, "runtimes" : { "$ref" : "#/components/schemas/runtime" }, "options" : { "type" : "object", "additionalProperties" : { "anyOf" : [ { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "blob" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 127, "minimum" : -128, "title" : "Byte" }, "title" : "ByteArray" }, "validation" : { "$ref" : "#/components/schemas/BlobAgentOptionValidation" } }, "required" : [ "type" ], "title" : "blob" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[blob]" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "array", "items" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 127, "minimum" : -128, "title" : "Byte" }, "title" : "ByteArray" }, "title" : "ArrayList>" }, "validation" : { "$ref" : "#/components/schemas/BlobAgentOptionValidation" } }, "required" : [ "type" ], "title" : "list[blob]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "bool" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "boolean", "title" : "Boolean" } }, "required" : [ "type" ], "title" : "bool" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "i8" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "integer", "maximum" : 127, "minimum" : -128, "title" : "Byte" }, "validation" : { "$ref" : "#/components/schemas/ByteAgentOptionValidation" } }, "required" : [ "type" ], "title" : "i8" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[i8]" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 127, "minimum" : -128, "title" : "Byte" }, "title" : "ArrayList" }, "validation" : { "$ref" : "#/components/schemas/ByteAgentOptionValidation" } }, "required" : [ "type" ], "title" : "list[i8]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "f64" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "number", "format" : "double", "title" : "Double" }, "validation" : { "$ref" : "#/components/schemas/DoubleAgentOptionValidation" } }, "required" : [ "type" ], "title" : "f64" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[f64]" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "array", "items" : { "type" : "number", "format" : "double", "title" : "Double" }, "title" : "ArrayList" }, "validation" : { "$ref" : "#/components/schemas/DoubleAgentOptionValidation" } }, "required" : [ "type" ], "title" : "list[f64]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "f32" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "number", "format" : "float", "title" : "Float" }, "validation" : { "$ref" : "#/components/schemas/FloatAgentOptionValidation" } }, "required" : [ "type" ], "title" : "f32" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[f32]" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "array", "items" : { "type" : "number", "format" : "float", "title" : "Float" }, "title" : "ArrayList" }, "validation" : { "$ref" : "#/components/schemas/FloatAgentOptionValidation" } }, "required" : [ "type" ], "title" : "list[f32]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "i32" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "integer", "format" : "int32", "title" : "Int" }, "validation" : { "$ref" : "#/components/schemas/IntAgentOptionValidation" } }, "required" : [ "type" ], "title" : "i32" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[i32]" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "array", "items" : { "type" : "integer", "format" : "int32", "title" : "Int" }, "title" : "ArrayList" }, "validation" : { "$ref" : "#/components/schemas/IntAgentOptionValidation" } }, "required" : [ "type" ], "title" : "list[i32]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "i64" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "integer", "format" : "int64", "title" : "Long" }, "validation" : { "$ref" : "#/components/schemas/LongAgentOptionValidation" } }, "required" : [ "type" ], "title" : "i64" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[i64]" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "array", "items" : { "type" : "integer", "format" : "int64", "title" : "Long" }, "title" : "ArrayList" }, "validation" : { "$ref" : "#/components/schemas/LongAgentOptionValidation" } }, "required" : [ "type" ], "title" : "list[i64]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "number" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "number", "format" : "double", "title" : "Double" }, "validation" : { "$ref" : "#/components/schemas/DoubleAgentOptionValidation" } }, "required" : [ "type" ], "title" : "number" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "secret" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "string", "title" : "String" }, "validation" : { "$ref" : "#/components/schemas/StringAgentOptionValidation" } }, "required" : [ "type" ], "title" : "secret" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "i16" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "integer", "maximum" : 32767, "minimum" : -32768, "title" : "Short" }, "validation" : { "$ref" : "#/components/schemas/ShortAgentOptionValidation" } }, "required" : [ "type" ], "title" : "i16" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[i16]" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 32767, "minimum" : -32768, "title" : "Short" }, "title" : "ArrayList" }, "validation" : { "$ref" : "#/components/schemas/ShortAgentOptionValidation" } }, "required" : [ "type" ], "title" : "list[i16]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "string" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "string", "title" : "String" }, "validation" : { "$ref" : "#/components/schemas/StringAgentOptionValidation" }, "base64" : { "type" : "boolean", "title" : "Boolean" }, "secret" : { "type" : "boolean", "title" : "Boolean" } }, "required" : [ "type" ], "title" : "string" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[string]" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "array", "items" : { "type" : "string", "title" : "String" }, "title" : "ArrayList" }, "validation" : { "$ref" : "#/components/schemas/StringAgentOptionValidation" }, "base64" : { "type" : "boolean", "title" : "Boolean" }, "secret" : { "type" : "boolean", "title" : "Boolean" } }, "required" : [ "type" ], "title" : "list[string]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "u8" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "integer", "maximum" : 255, "minimum" : 0, "title" : "UByte" }, "validation" : { "$ref" : "#/components/schemas/UByteAgentOptionValidation" } }, "required" : [ "type" ], "title" : "u8" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[u8]" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 255, "minimum" : 0, "title" : "UByte" }, "title" : "ArrayList" }, "validation" : { "$ref" : "#/components/schemas/UByteAgentOptionValidation" } }, "required" : [ "type" ], "title" : "list[u8]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "u32" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "integer", "maximum" : 4294967295, "minimum" : 0, "title" : "UInt" }, "validation" : { "$ref" : "#/components/schemas/UIntAgentOptionValidation" } }, "required" : [ "type" ], "title" : "u32" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[u32]" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 4294967295, "minimum" : 0, "title" : "UInt" }, "title" : "ArrayList" }, "validation" : { "$ref" : "#/components/schemas/UIntAgentOptionValidation" } }, "required" : [ "type" ], "title" : "list[u32]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "u64" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "string", "title" : "String" }, "validation" : { "$ref" : "#/components/schemas/ULongAgentOptionValidation" } }, "required" : [ "type" ], "title" : "u64" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[u64]" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "array", "items" : { "type" : "string", "title" : "String" }, "title" : "ArrayList" }, "validation" : { "$ref" : "#/components/schemas/ULongAgentOptionValidation" } }, "required" : [ "type" ], "title" : "list[u64]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "u16" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "integer", "maximum" : 65535, "minimum" : 0, "title" : "UShort" }, "validation" : { "$ref" : "#/components/schemas/UShortAgentOptionValidation" } }, "required" : [ "type" ], "title" : "u16" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[u16]" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 65535, "minimum" : 0, "title" : "UShort" }, "title" : "ArrayList" }, "validation" : { "$ref" : "#/components/schemas/UShortAgentOptionValidation" } }, "required" : [ "type" ], "title" : "list[u16]" } ], "discriminator" : { "propertyName" : "type" }, "title" : "AgentOption" }, "title" : "LinkedHashMap" }, "path" : { "$ref" : "#/components/schemas/Polymorphic" }, "exportSettings" : { "type" : "object", "additionalProperties" : { "$ref" : "#/components/schemas/AgentExportSettings" }, "title" : "LinkedHashMap" } }, "required" : [ "exportSettings", "info", "options", "runtimes" ], "title" : "RegistryAgent" }, "RegistryAgentInfo" : { "type" : "object", "properties" : { "description" : { "type" : "string", "title" : "String" }, "capabilities" : { "type" : "array", "items" : { "$ref" : "#/components/schemas/AgentCapability" }, "title" : "LinkedHashSet", "uniqueItems" : true }, "identifier" : { "$ref" : "#/components/schemas/RegistryAgentIdentifier" } }, "required" : [ "capabilities", "identifier" ], "title" : "RegistryAgentInfo" }, "AgentCapability" : { "type" : "string", "enum" : [ "resources", "tool_refreshing" ], "title" : "AgentCapability" }, "runtime" : { "type" : "object", "properties" : { "executable" : { "$ref" : "#/components/schemas/executable" }, "docker" : { "$ref" : "#/components/schemas/docker" } }, "title" : "runtime" }, "executable" : { "type" : "object", "properties" : { "command" : { "type" : "array", "items" : { "type" : "string", "title" : "String" }, "title" : "ArrayList" } }, "required" : [ "command" ], "title" : "executable" }, "docker" : { "type" : "object", "properties" : { "image" : { "type" : "string", "title" : "String" }, "command" : { "type" : "array", "items" : { "type" : "string", "title" : "String" }, "title" : "ArrayList" } }, "required" : [ "image" ], "title" : "docker" }, "AgentOptionDisplay" : { "type" : "object", "properties" : { "label" : { "type" : "string", "title" : "String" }, "description" : { "type" : "string", "title" : "String" }, "group" : { "type" : "string", "title" : "String" }, "multiline" : { "type" : "boolean", "title" : "Boolean" } }, "title" : "AgentOptionDisplay" }, "AgentOptionTransport" : { "type" : "string", "enum" : [ "env", "fs" ], "title" : "AgentOptionTransport" }, "BlobAgentOptionValidation" : { "type" : "object", "properties" : { "min_size" : { "$ref" : "#/components/schemas/ValidationFileSize" }, "max_size" : { "$ref" : "#/components/schemas/ValidationFileSize" } }, "title" : "BlobAgentOptionValidation" }, "ValidationFileSize" : { "type" : "object", "properties" : { "size" : { "type" : "number", "format" : "double", "title" : "Double" }, "unit" : { "$ref" : "#/components/schemas/ByteUnitSizes" }, "byteCount" : { "type" : "integer", "format" : "int64", "title" : "Long" } }, "required" : [ "byteCount", "size", "unit" ], "title" : "ValidationFileSize" }, "ByteUnitSizes" : { "type" : "string", "enum" : [ "b", "KiB", "MiB", "GiB", "TiB", "kB", "MB", "GB", "TB" ], "title" : "ByteUnitSizes" }, "ByteAgentOptionValidation" : { "type" : "object", "properties" : { "variants" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 127, "minimum" : -128, "title" : "Byte" }, "title" : "ArrayList" }, "min" : { "type" : "integer", "maximum" : 127, "minimum" : -128, "title" : "Byte" }, "max" : { "type" : "integer", "maximum" : 127, "minimum" : -128, "title" : "Byte" } }, "title" : "ByteAgentOptionValidation" }, "DoubleAgentOptionValidation" : { "type" : "object", "properties" : { "variants" : { "type" : "array", "items" : { "type" : "number", "format" : "double", "title" : "Double" }, "title" : "ArrayList" }, "min" : { "type" : "number", "format" : "double", "title" : "Double" }, "max" : { "type" : "number", "format" : "double", "title" : "Double" } }, "title" : "DoubleAgentOptionValidation" }, "FloatAgentOptionValidation" : { "type" : "object", "properties" : { "variants" : { "type" : "array", "items" : { "type" : "number", "format" : "float", "title" : "Float" }, "title" : "ArrayList" }, "min" : { "type" : "number", "format" : "float", "title" : "Float" }, "max" : { "type" : "number", "format" : "float", "title" : "Float" } }, "title" : "FloatAgentOptionValidation" }, "IntAgentOptionValidation" : { "type" : "object", "properties" : { "variants" : { "type" : "array", "items" : { "type" : "integer", "format" : "int32", "title" : "Int" }, "title" : "ArrayList" }, "min" : { "type" : "integer", "format" : "int32", "title" : "Int" }, "max" : { "type" : "integer", "format" : "int32", "title" : "Int" } }, "title" : "IntAgentOptionValidation" }, "LongAgentOptionValidation" : { "type" : "object", "properties" : { "variants" : { "type" : "array", "items" : { "type" : "integer", "format" : "int64", "title" : "Long" }, "title" : "ArrayList" }, "min" : { "type" : "integer", "format" : "int64", "title" : "Long" }, "max" : { "type" : "integer", "format" : "int64", "title" : "Long" } }, "title" : "LongAgentOptionValidation" }, "StringAgentOptionValidation" : { "type" : "object", "properties" : { "variants" : { "type" : "array", "items" : { "type" : "string", "title" : "String" }, "title" : "ArrayList" }, "min_length" : { "type" : "integer", "format" : "int32", "title" : "Int" }, "max_length" : { "type" : "integer", "format" : "int32", "title" : "Int" }, "regex" : { "type" : "string", "title" : "String" } }, "title" : "StringAgentOptionValidation" }, "ShortAgentOptionValidation" : { "type" : "object", "properties" : { "variants" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 32767, "minimum" : -32768, "title" : "Short" }, "title" : "ArrayList" }, "min" : { "type" : "integer", "maximum" : 32767, "minimum" : -32768, "title" : "Short" }, "max" : { "type" : "integer", "maximum" : 32767, "minimum" : -32768, "title" : "Short" } }, "title" : "ShortAgentOptionValidation" }, "UByteAgentOptionValidation" : { "type" : "object", "properties" : { "variants" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 255, "minimum" : 0, "title" : "UByte" }, "title" : "ArrayList" }, "min" : { "type" : "integer", "maximum" : 255, "minimum" : 0, "title" : "UByte" }, "max" : { "type" : "integer", "maximum" : 255, "minimum" : 0, "title" : "UByte" } }, "title" : "UByteAgentOptionValidation" }, "UIntAgentOptionValidation" : { "type" : "object", "properties" : { "variants" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 4294967295, "minimum" : 0, "title" : "UInt" }, "title" : "ArrayList" }, "min" : { "type" : "integer", "maximum" : 4294967295, "minimum" : 0, "title" : "UInt" }, "max" : { "type" : "integer", "maximum" : 4294967295, "minimum" : 0, "title" : "UInt" } }, "title" : "UIntAgentOptionValidation" }, "ULongAgentOptionValidation" : { "type" : "object", "properties" : { "variants" : { "type" : "array", "items" : { "type" : "integer", "title" : "ULong" }, "title" : "ArrayList" }, "min" : { "type" : "integer", "title" : "ULong" }, "max" : { "type" : "integer", "title" : "ULong" } }, "title" : "ULongAgentOptionValidation" }, "UShortAgentOptionValidation" : { "type" : "object", "properties" : { "variants" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 65535, "minimum" : 0, "title" : "UShort" }, "title" : "ArrayList" }, "min" : { "type" : "integer", "maximum" : 65535, "minimum" : 0, "title" : "UShort" }, "max" : { "type" : "integer", "maximum" : 65535, "minimum" : 0, "title" : "UShort" } }, "title" : "UShortAgentOptionValidation" }, "Polymorphic" : { "type" : "object", "properties" : { }, "title" : "Polymorphic" }, "AgentExportSettings" : { "type" : "object", "properties" : { "quantity" : { "type" : "integer", "maximum" : 4294967295, "minimum" : 0, "title" : "UInt" }, "pricing" : { "$ref" : "#/components/schemas/RegistryAgentExportPricing" }, "options" : { "type" : "object", "additionalProperties" : { "anyOf" : [ { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "blob" ], "title" : "String" }, "value" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 127, "minimum" : -128, "title" : "Byte" }, "title" : "ByteArray" } }, "required" : [ "type", "value" ], "title" : "blob" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[blob]" ], "title" : "String" }, "value" : { "type" : "array", "items" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 127, "minimum" : -128, "title" : "Byte" }, "title" : "ByteArray" }, "title" : "ArrayList>" } }, "required" : [ "type", "value" ], "title" : "list[blob]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "bool" ], "title" : "String" }, "value" : { "type" : "boolean", "title" : "Boolean" } }, "required" : [ "type", "value" ], "title" : "bool" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "i8" ], "title" : "String" }, "value" : { "type" : "integer", "maximum" : 127, "minimum" : -128, "title" : "Byte" } }, "required" : [ "type", "value" ], "title" : "i8" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[i8]" ], "title" : "String" }, "value" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 127, "minimum" : -128, "title" : "Byte" }, "title" : "ArrayList" } }, "required" : [ "type", "value" ], "title" : "list[i8]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "f64" ], "title" : "String" }, "value" : { "type" : "number", "format" : "double", "title" : "Double" } }, "required" : [ "type", "value" ], "title" : "f64" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[f64]" ], "title" : "String" }, "value" : { "type" : "array", "items" : { "type" : "number", "format" : "double", "title" : "Double" }, "title" : "ArrayList" } }, "required" : [ "type", "value" ], "title" : "list[f64]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "f32" ], "title" : "String" }, "value" : { "type" : "number", "format" : "float", "title" : "Float" } }, "required" : [ "type", "value" ], "title" : "f32" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[f32]" ], "title" : "String" }, "value" : { "type" : "array", "items" : { "type" : "number", "format" : "float", "title" : "Float" }, "title" : "ArrayList" } }, "required" : [ "type", "value" ], "title" : "list[f32]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "i32" ], "title" : "String" }, "value" : { "type" : "integer", "format" : "int32", "title" : "Int" } }, "required" : [ "type", "value" ], "title" : "i32" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[i32]" ], "title" : "String" }, "value" : { "type" : "array", "items" : { "type" : "integer", "format" : "int32", "title" : "Int" }, "title" : "ArrayList" } }, "required" : [ "type", "value" ], "title" : "list[i32]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "i64" ], "title" : "String" }, "value" : { "type" : "integer", "format" : "int64", "title" : "Long" } }, "required" : [ "type", "value" ], "title" : "i64" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[i64]" ], "title" : "String" }, "value" : { "type" : "array", "items" : { "type" : "integer", "format" : "int64", "title" : "Long" }, "title" : "ArrayList" } }, "required" : [ "type", "value" ], "title" : "list[i64]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "i16" ], "title" : "String" }, "value" : { "type" : "integer", "maximum" : 32767, "minimum" : -32768, "title" : "Short" } }, "required" : [ "type", "value" ], "title" : "i16" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[i16]" ], "title" : "String" }, "value" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 32767, "minimum" : -32768, "title" : "Short" }, "title" : "ArrayList" } }, "required" : [ "type", "value" ], "title" : "list[i16]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "string" ], "title" : "String" }, "value" : { "type" : "string", "title" : "String" } }, "required" : [ "type", "value" ], "title" : "string" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[string]" ], "title" : "String" }, "value" : { "type" : "array", "items" : { "type" : "string", "title" : "String" }, "title" : "ArrayList" } }, "required" : [ "type", "value" ], "title" : "list[string]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "u8" ], "title" : "String" }, "value" : { "type" : "integer", "maximum" : 255, "minimum" : 0, "title" : "UByte" } }, "required" : [ "type", "value" ], "title" : "u8" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[u8]" ], "title" : "String" }, "value" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 255, "minimum" : 0, "title" : "UByte" }, "title" : "ArrayList" } }, "required" : [ "type", "value" ], "title" : "list[u8]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "u32" ], "title" : "String" }, "value" : { "type" : "integer", "maximum" : 4294967295, "minimum" : 0, "title" : "UInt" } }, "required" : [ "type", "value" ], "title" : "u32" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[u32]" ], "title" : "String" }, "value" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 4294967295, "minimum" : 0, "title" : "UInt" }, "title" : "ArrayList" } }, "required" : [ "type", "value" ], "title" : "list[u32]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "u64" ], "title" : "String" }, "value" : { "type" : "string", "title" : "String" } }, "required" : [ "type", "value" ], "title" : "u64" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[u64]" ], "title" : "String" }, "value" : { "type" : "array", "items" : { "type" : "string", "title" : "String" }, "title" : "ArrayList" } }, "required" : [ "type", "value" ], "title" : "list[u64]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "u16" ], "title" : "String" }, "value" : { "type" : "integer", "maximum" : 65535, "minimum" : 0, "title" : "UShort" } }, "required" : [ "type", "value" ], "title" : "u16" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[u16]" ], "title" : "String" }, "value" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 65535, "minimum" : 0, "title" : "UShort" }, "title" : "ArrayList" } }, "required" : [ "type", "value" ], "title" : "list[u16]" } ], "discriminator" : { "propertyName" : "type" }, "title" : "AgentOptionValue" }, "title" : "LinkedHashMap" } }, "required" : [ "options", "pricing", "quantity" ], "title" : "AgentExportSettings" }, "RegistryAgentExportPricing" : { "type" : "object", "properties" : { "min_price" : { "anyOf" : [ { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "coral" ], "title" : "String" }, "amount" : { "type" : "number", "format" : "double", "title" : "Double" } }, "required" : [ "amount", "type" ], "title" : "coral" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "micro_coral" ], "title" : "String" }, "amount" : { "type" : "integer", "format" : "int64", "title" : "Long" } }, "required" : [ "amount", "type" ], "title" : "micro_coral" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "usd" ], "title" : "String" }, "amount" : { "type" : "number", "format" : "double", "title" : "Double" } }, "required" : [ "amount", "type" ], "title" : "usd" } ], "discriminator" : { "propertyName" : "type" }, "title" : "AgentClaimAmount" }, "max_price" : { "anyOf" : [ { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "coral" ], "title" : "String" }, "amount" : { "type" : "number", "format" : "double", "title" : "Double" } }, "required" : [ "amount", "type" ], "title" : "coral" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "micro_coral" ], "title" : "String" }, "amount" : { "type" : "integer", "format" : "int64", "title" : "Long" } }, "required" : [ "amount", "type" ], "title" : "micro_coral" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "usd" ], "title" : "String" }, "amount" : { "type" : "number", "format" : "double", "title" : "Double" } }, "required" : [ "amount", "type" ], "title" : "usd" } ], "discriminator" : { "propertyName" : "type" }, "title" : "AgentClaimAmount" } }, "required" : [ "max_price", "min_price" ], "title" : "RegistryAgentExportPricing" }, "RestrictedRegistryAgent" : { "type" : "object", "properties" : { "registryAgent" : { "$ref" : "#/components/schemas/RegistryAgent" }, "restrictions" : { "type" : "array", "items" : { "anyOf" : [ { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "linked" ], "title" : "String" }, "linkedServerId" : { "type" : "string", "title" : "String" } }, "required" : [ "linkedServerId", "type" ], "title" : "linked" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "local" ], "title" : "String" } }, "required" : [ "type" ], "title" : "local" }, { "type" : "object", "description" : "This agent can only be run on remote servers", "properties" : { "type" : { "type" : "string", "enum" : [ "remote" ], "title" : "String" } }, "required" : [ "type" ], "title" : "remote" } ], "discriminator" : { "propertyName" : "type" }, "title" : "RegistryAgentRestriction" }, "title" : "LinkedHashSet", "uniqueItems" : true } }, "required" : [ "registryAgent", "restrictions" ], "title" : "RestrictedRegistryAgent" }, "AgentPaymentClaimRequest" : { "type" : "object", "properties" : { "amount" : { "anyOf" : [ { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "coral" ], "title" : "String" }, "amount" : { "type" : "number", "format" : "double", "title" : "Double" } }, "required" : [ "amount", "type" ], "title" : "coral" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "micro_coral" ], "title" : "String" }, "amount" : { "type" : "integer", "format" : "int64", "title" : "Long" } }, "required" : [ "amount", "type" ], "title" : "micro_coral" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "usd" ], "title" : "String" }, "amount" : { "type" : "number", "format" : "double", "title" : "Double" } }, "required" : [ "amount", "type" ], "title" : "usd" } ], "description" : "The amount to claim. This will be converted to Coral when received", "discriminator" : { "propertyName" : "type" }, "title" : "AgentClaimAmount" } }, "required" : [ "amount" ], "title" : "AgentPaymentClaimRequest" }, "AgentRemainingBudget" : { "type" : "object", "description" : "\n This object is returned by the agent claim endpoint and represents the remaining budget for the agent. The agent \n should use this respond to decide whether whether it can continue providing services with the remaining budget.\n \n This object attaches a USD price for a Coral to it so that agents do not have to make multiple calls to the pricing \n endpoint to determine the price of a Coral. This field is an 'estimate', it can be based off cached data and may not \n be accurate, so this should only be used if the agent represented it's rates in USD.\n \n If better accuracy is required agent-side, the budget should only use micro-corals.\n", "properties" : { "remainingBudget" : { "type" : "integer", "format" : "int64", "description" : "The remaining budget for the agent, represented in micro-corals", "title" : "Long" }, "coralUsdPrice" : { "type" : "number", "format" : "double", "description" : "Current USD price for one whole Coral", "title" : "Double" } }, "required" : [ "coralUsdPrice", "remainingBudget" ], "title" : "AgentRemainingBudget" }, "X402ProxyRequest" : { "type" : "object", "description" : "A proxied request to a service that potentially requests x402 payment", "properties" : { "endpoint" : { "type" : "string", "description" : "The full endpoint of the target API", "title" : "String" }, "method" : { "type" : "string", "description" : "The API method, e.g. POST, GET, DELETE, etc", "title" : "String" }, "body" : { "type" : "object", "additionalProperties" : { "$ref" : "#/components/schemas/JsonElement" }, "description" : "The body of the request", "title" : "JsonObject" } }, "required" : [ "body", "endpoint", "method" ], "title" : "X402ProxyRequest" }, "X402ProxiedResponse" : { "type" : "object", "properties" : { "code" : { "type" : "integer", "format" : "int32", "title" : "Int" }, "body" : { "type" : "string", "title" : "String" } }, "required" : [ "body", "code" ], "title" : "X402ProxiedResponse" }, "PaidGraphAgentRequest" : { "type" : "object", "description" : "A paid request for an agent. GraphAgentRequest -> GraphAgent", "properties" : { "graphAgentRequest" : { "$ref" : "#/components/schemas/GraphAgentRequest", "description" : "A request for an agent. GraphAgentRequest -> GraphAgent" }, "paidSessionId" : { "type" : "integer", "format" : "int64", "title" : "Long" }, "clientWalletAddress" : { "type" : "string", "title" : "String" } }, "required" : [ "clientWalletAddress", "graphAgentRequest", "paidSessionId" ], "title" : "PaidGraphAgentRequest" }, "PublicRestrictedRegistryAgent" : { "type" : "object", "description" : "Represents an agent that can have restrictions on where it can run.", "properties" : { "registryAgent" : { "$ref" : "#/components/schemas/PublicRegistryAgent" }, "restrictions" : { "type" : "array", "items" : { "anyOf" : [ { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "linked" ], "title" : "String" }, "linkedServerId" : { "type" : "string", "title" : "String" } }, "required" : [ "linkedServerId", "type" ], "title" : "linked" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "local" ], "title" : "String" } }, "required" : [ "type" ], "title" : "local" }, { "type" : "object", "description" : "This agent can only be run on remote servers", "properties" : { "type" : { "type" : "string", "enum" : [ "remote" ], "title" : "String" } }, "required" : [ "type" ], "title" : "remote" } ], "discriminator" : { "propertyName" : "type" }, "title" : "RegistryAgentRestriction" }, "title" : "LinkedHashSet", "uniqueItems" : true } }, "required" : [ "registryAgent", "restrictions" ], "title" : "PublicRestrictedRegistryAgent" }, "PublicRegistryAgent" : { "type" : "object", "properties" : { "id" : { "$ref" : "#/components/schemas/RegistryAgentIdentifier" }, "runtimes" : { "type" : "array", "items" : { "$ref" : "#/components/schemas/RuntimeId" }, "title" : "ArrayList" }, "options" : { "type" : "object", "additionalProperties" : { "anyOf" : [ { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "blob" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 127, "minimum" : -128, "title" : "Byte" }, "title" : "ByteArray" }, "validation" : { "$ref" : "#/components/schemas/BlobAgentOptionValidation" } }, "required" : [ "type" ], "title" : "blob" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[blob]" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "array", "items" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 127, "minimum" : -128, "title" : "Byte" }, "title" : "ByteArray" }, "title" : "ArrayList>" }, "validation" : { "$ref" : "#/components/schemas/BlobAgentOptionValidation" } }, "required" : [ "type" ], "title" : "list[blob]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "bool" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "boolean", "title" : "Boolean" } }, "required" : [ "type" ], "title" : "bool" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "i8" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "integer", "maximum" : 127, "minimum" : -128, "title" : "Byte" }, "validation" : { "$ref" : "#/components/schemas/ByteAgentOptionValidation" } }, "required" : [ "type" ], "title" : "i8" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[i8]" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 127, "minimum" : -128, "title" : "Byte" }, "title" : "ArrayList" }, "validation" : { "$ref" : "#/components/schemas/ByteAgentOptionValidation" } }, "required" : [ "type" ], "title" : "list[i8]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "f64" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "number", "format" : "double", "title" : "Double" }, "validation" : { "$ref" : "#/components/schemas/DoubleAgentOptionValidation" } }, "required" : [ "type" ], "title" : "f64" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[f64]" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "array", "items" : { "type" : "number", "format" : "double", "title" : "Double" }, "title" : "ArrayList" }, "validation" : { "$ref" : "#/components/schemas/DoubleAgentOptionValidation" } }, "required" : [ "type" ], "title" : "list[f64]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "f32" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "number", "format" : "float", "title" : "Float" }, "validation" : { "$ref" : "#/components/schemas/FloatAgentOptionValidation" } }, "required" : [ "type" ], "title" : "f32" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[f32]" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "array", "items" : { "type" : "number", "format" : "float", "title" : "Float" }, "title" : "ArrayList" }, "validation" : { "$ref" : "#/components/schemas/FloatAgentOptionValidation" } }, "required" : [ "type" ], "title" : "list[f32]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "i32" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "integer", "format" : "int32", "title" : "Int" }, "validation" : { "$ref" : "#/components/schemas/IntAgentOptionValidation" } }, "required" : [ "type" ], "title" : "i32" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[i32]" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "array", "items" : { "type" : "integer", "format" : "int32", "title" : "Int" }, "title" : "ArrayList" }, "validation" : { "$ref" : "#/components/schemas/IntAgentOptionValidation" } }, "required" : [ "type" ], "title" : "list[i32]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "i64" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "integer", "format" : "int64", "title" : "Long" }, "validation" : { "$ref" : "#/components/schemas/LongAgentOptionValidation" } }, "required" : [ "type" ], "title" : "i64" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[i64]" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "array", "items" : { "type" : "integer", "format" : "int64", "title" : "Long" }, "title" : "ArrayList" }, "validation" : { "$ref" : "#/components/schemas/LongAgentOptionValidation" } }, "required" : [ "type" ], "title" : "list[i64]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "number" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "number", "format" : "double", "title" : "Double" }, "validation" : { "$ref" : "#/components/schemas/DoubleAgentOptionValidation" } }, "required" : [ "type" ], "title" : "number" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "secret" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "string", "title" : "String" }, "validation" : { "$ref" : "#/components/schemas/StringAgentOptionValidation" } }, "required" : [ "type" ], "title" : "secret" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "i16" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "integer", "maximum" : 32767, "minimum" : -32768, "title" : "Short" }, "validation" : { "$ref" : "#/components/schemas/ShortAgentOptionValidation" } }, "required" : [ "type" ], "title" : "i16" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[i16]" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 32767, "minimum" : -32768, "title" : "Short" }, "title" : "ArrayList" }, "validation" : { "$ref" : "#/components/schemas/ShortAgentOptionValidation" } }, "required" : [ "type" ], "title" : "list[i16]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "string" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "string", "title" : "String" }, "validation" : { "$ref" : "#/components/schemas/StringAgentOptionValidation" }, "base64" : { "type" : "boolean", "title" : "Boolean" }, "secret" : { "type" : "boolean", "title" : "Boolean" } }, "required" : [ "type" ], "title" : "string" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[string]" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "array", "items" : { "type" : "string", "title" : "String" }, "title" : "ArrayList" }, "validation" : { "$ref" : "#/components/schemas/StringAgentOptionValidation" }, "base64" : { "type" : "boolean", "title" : "Boolean" }, "secret" : { "type" : "boolean", "title" : "Boolean" } }, "required" : [ "type" ], "title" : "list[string]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "u8" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "integer", "maximum" : 255, "minimum" : 0, "title" : "UByte" }, "validation" : { "$ref" : "#/components/schemas/UByteAgentOptionValidation" } }, "required" : [ "type" ], "title" : "u8" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[u8]" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 255, "minimum" : 0, "title" : "UByte" }, "title" : "ArrayList" }, "validation" : { "$ref" : "#/components/schemas/UByteAgentOptionValidation" } }, "required" : [ "type" ], "title" : "list[u8]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "u32" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "integer", "maximum" : 4294967295, "minimum" : 0, "title" : "UInt" }, "validation" : { "$ref" : "#/components/schemas/UIntAgentOptionValidation" } }, "required" : [ "type" ], "title" : "u32" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[u32]" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 4294967295, "minimum" : 0, "title" : "UInt" }, "title" : "ArrayList" }, "validation" : { "$ref" : "#/components/schemas/UIntAgentOptionValidation" } }, "required" : [ "type" ], "title" : "list[u32]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "u64" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "string", "title" : "String" }, "validation" : { "$ref" : "#/components/schemas/ULongAgentOptionValidation" } }, "required" : [ "type" ], "title" : "u64" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[u64]" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "array", "items" : { "type" : "string", "title" : "String" }, "title" : "ArrayList" }, "validation" : { "$ref" : "#/components/schemas/ULongAgentOptionValidation" } }, "required" : [ "type" ], "title" : "list[u64]" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "u16" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "integer", "maximum" : 65535, "minimum" : 0, "title" : "UShort" }, "validation" : { "$ref" : "#/components/schemas/UShortAgentOptionValidation" } }, "required" : [ "type" ], "title" : "u16" }, { "type" : "object", "properties" : { "type" : { "type" : "string", "enum" : [ "list[u16]" ], "title" : "String" }, "required" : { "type" : "boolean", "title" : "Boolean" }, "display" : { "$ref" : "#/components/schemas/AgentOptionDisplay" }, "transport" : { "$ref" : "#/components/schemas/AgentOptionTransport" }, "description" : { "type" : "string", "title" : "String" }, "default" : { "type" : "array", "items" : { "type" : "integer", "maximum" : 65535, "minimum" : 0, "title" : "UShort" }, "title" : "ArrayList" }, "validation" : { "$ref" : "#/components/schemas/UShortAgentOptionValidation" } }, "required" : [ "type" ], "title" : "list[u16]" } ], "discriminator" : { "propertyName" : "type" }, "title" : "AgentOption" }, "title" : "LinkedHashMap" }, "exportSettings" : { "type" : "object", "additionalProperties" : { "$ref" : "#/components/schemas/PublicAgentExportSettings" }, "title" : "LinkedHashMap" } }, "required" : [ "exportSettings", "id", "options", "runtimes" ], "title" : "PublicRegistryAgent" }, "PublicAgentExportSettings" : { "type" : "object", "properties" : { "quantity" : { "type" : "integer", "maximum" : 4294967295, "minimum" : 0, "title" : "UInt" }, "pricing" : { "$ref" : "#/components/schemas/RegistryAgentExportPricing" } }, "required" : [ "pricing", "quantity" ], "title" : "PublicAgentExportSettings" } }, "examples" : { }, "securitySchemes" : { "token" : { "type" : "http", "scheme" : "bearer", "bearerFormat" : "Configured token" }, "agentSecret" : { "type" : "http", "scheme" : "bearer", "bearerFormat" : "Generated agent secret" } } }, "webhooks" : { } }