amf-client-js 5.9.0-SNAPSHOT.23 → 5.9.0-SNAPSHOT.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/amf.js +13 -12
- package/package.json +1 -1
package/amf.js
CHANGED
|
@@ -1369,12 +1369,12 @@ function X9a(){}X9a.prototype=new m;X9a.prototype.constructor=X9a;function Y9a()
|
|
|
1369
1369
|
function I9a(a,b,c){return b.D(new u(e=>e.u(c)),B().f).ud((bG(),new Kc(void 0)),new gf((e,f)=>{if(e instanceof Kc)var g=q();else{if(!(e instanceof Jc))throw new w(e);g=e.rd}if(f instanceof Kc)f=q();else{if(!(f instanceof Jc))throw new w(f);f=[f.rd];for(var h=-1+(f.length|0)|0,k=q();0<=h;)k=new r(f[h],k),h=-1+h|0;f=k}g=g.B(f,B().f);f=new M(g);return null!==f.r&&0===f.r.mf(0)?e:new Jc(g)}))}p(Z9a,"scopt.Validation$",{raf:1});var $9a;function J9a(){$9a||($9a=new Z9a);return $9a}
|
|
1370
1370
|
function a$a(){this.bkd=null;b$a=this;this.bkd=gaa.EOL}a$a.prototype=new m;a$a.prototype.constructor=a$a;p(a$a,"scopt.platform$",{saf:1});var b$a;function R9a(){b$a||(b$a=new a$a);return b$a}function c$a(a){this.htd=a}c$a.prototype=new m;c$a.prototype.constructor=c$a;c$a.prototype.gg=function(){return(0,this.htd)()};p(c$a,"amf.agentcard.client.platform.AgentCardConfiguration$$Lambda$1",{bSd:1,RG:1});function d$a(){}d$a.prototype=new GNa;d$a.prototype.constructor=d$a;
|
|
1371
1371
|
p(d$a,"amf.agentcard.internal.plugins.parse.entry.AgentCardProtocolVersion",{mSd:1,RKd:1});function e$a(){}e$a.prototype=new m;e$a.prototype.constructor=e$a;e$a.prototype.Kmd=function(){return"protocolVersion"};e$a.prototype.Bmd=function(a){return new M(new d$a(a))};p(e$a,"amf.agentcard.internal.plugins.parse.entry.AgentCardProtocolVersion$",{nSd:1,QKd:1});var f$a;function g$a(){}g$a.prototype=new m;g$a.prototype.constructor=g$a;g$a.prototype.Msd=function(){f$a||(f$a=new e$a);return f$a};
|
|
1372
|
-
p(g$a,"amf.agentcard.internal.plugins.parse.entry.AgentCardProtocolVersionEntry$",{oSd:1,PKd:1});var h$a;function i$a(){}i$a.prototype=new INa;i$a.prototype.constructor=i$a;i$a.prototype.ZIa=function(){return Il(new ed('{"$schema":"http://json-schema.org/draft-07/schema#","$ref":"#/definitions/AgentCard","definitions":{"A2AError":{"anyOf":[{"$ref":"#/definitions/JSONParseError"},{"$ref":"#/definitions/InvalidRequestError"},{"$ref":"#/definitions/MethodNotFoundError"},{"$ref":"#/definitions/InvalidParamsError"},{"$ref":"#/definitions/InternalError"},{"$ref":"#/definitions/TaskNotFoundError"},{"$ref":"#/definitions/TaskNotCancelableError"},{"$ref":"#/definitions/PushNotificationNotSupportedError"},{"$ref":"#/definitions/UnsupportedOperationError"},{"$ref":"#/definitions/ContentTypeNotSupportedError"},{"$ref":"#/definitions/InvalidAgentResponseError"}]},"A2ARequest":{"anyOf":[{"$ref":"#/definitions/SendMessageRequest"},{"$ref":"#/definitions/SendStreamingMessageRequest"},{"$ref":"#/definitions/GetTaskRequest"},{"$ref":"#/definitions/CancelTaskRequest"},{"$ref":"#/definitions/SetTaskPushNotificationConfigRequest"},{"$ref":"#/definitions/GetTaskPushNotificationConfigRequest"},{"$ref":"#/definitions/TaskResubscriptionRequest"},{"$ref":"#/definitions/ListTaskPushNotificationConfigRequest"},{"$ref":"#/definitions/DeleteTaskPushNotificationConfigRequest"}],"description":"A2A supported request types"},"APIKeySecurityScheme":{"description":"API Key security scheme.","properties":{"description":{"description":"Description of this security scheme.","type":"string"},"in":{"description":"The location of the API key. Valid values are \\"query\\", \\"header\\", or \\"cookie\\".","enum":["cookie","header","query"],"type":"string"},"name":{"description":"The name of the header, query or cookie parameter to be used.","type":"string"},"type":{"const":"apiKey","type":"string"}},"required":["in","name","type"],"type":"object"},"AgentCapabilities":{"description":"Defines optional capabilities supported by an agent.","properties":{"extensions":{"description":"extensions supported by this agent.","items":{"$ref":"#/definitions/AgentExtension"},"type":"array"},"pushNotifications":{"description":"true if the agent can notify updates to client.","type":"boolean"},"stateTransitionHistory":{"description":"true if the agent exposes status change history for tasks.","type":"boolean"},"streaming":{"description":"true if the agent supports SSE.","type":"boolean"}},"type":"object"},"AgentCard":{"description":"An AgentCard conveys key information:\\n- Overall details (version, name, description, uses)\\n- Skills: A set of capabilities the agent can perform\\n- Default modalities/content types supported by the agent.\\n- Authentication requirements","properties":{"additionalInterfaces":{"description":"Announcement of additional supported transports. Client can use any of\\nthe supported transports.","items":{"$ref":"#/definitions/AgentInterface"},"type":"array"},"capabilities":{"$ref":"#/definitions/AgentCapabilities","description":"Optional capabilities supported by the agent."},"defaultInputModes":{"description":"The set of interaction modes that the agent supports across all skills. This can be overridden per-skill.\\nSupported media types for input.","items":{"type":"string"},"type":"array"},"defaultOutputModes":{"description":"Supported media types for output.","items":{"type":"string"},"type":"array"},"description":{"description":"A human-readable description of the agent. Used to assist users and\\nother agents in understanding what the agent can do.","examples":["Agent that helps users with recipes and cooking."],"type":"string"},"documentationUrl":{"description":"A URL to documentation for the agent.","type":"string"},"iconUrl":{"description":"A URL to an icon for the agent.","type":"string"},"name":{"description":"Human readable name of the agent.","examples":["Recipe Agent"],"type":"string"},"preferredTransport":{"description":"The transport of the preferred endpoint. If empty, defaults to JSONRPC.","type":"string"},"protocolVersion":{"default":"0.2.5","description":"The version of the A2A protocol this agent supports.","type":"string"},"provider":{"$ref":"#/definitions/AgentProvider","description":"The service provider of the agent"},"security":{"description":"Security requirements for contacting the agent.","items":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},"type":"array"},"securitySchemes":{"additionalProperties":{"$ref":"#/definitions/SecurityScheme"},"description":"Security scheme details used for authenticating with this agent.","type":"object"},"skills":{"description":"Skills are a unit of capability that an agent can perform.","items":{"$ref":"#/definitions/AgentSkill"},"type":"array"},"supportsAuthenticatedExtendedCard":{"description":"true if the agent supports providing an extended agent card when the user is authenticated.\\nDefaults to false if not specified.","type":"boolean"},"url":{"description":"A URL to the address the agent is hosted at. This represents the\\npreferred endpoint as declared by the agent.","type":"string"},"version":{"description":"The version of the agent - format is up to the provider.","examples":["1.0.0"],"type":"string"}},"required":["capabilities","defaultInputModes","defaultOutputModes","description","name","protocolVersion","skills","url","version"],"type":"object"},"AgentExtension":{"description":"A declaration of an extension supported by an Agent.","examples":[{"description":"Google OAuth 2.0 authentication","required":false,"uri":"https://developers.google.com/identity/protocols/oauth2"}],"properties":{"description":{"description":"A description of how this agent uses this extension.","type":"string"},"params":{"additionalProperties":{},"description":"Optional configuration for the extension.","type":"object"},"required":{"description":"Whether the client must follow specific requirements of the extension.","type":"boolean"},"uri":{"description":"The URI of the extension.","type":"string"}},"required":["uri"],"type":"object"},"AgentInterface":{"description":"AgentInterface provides a declaration of a combination of the\\ntarget url and the supported transport to interact with the agent.","properties":{"transport":{"description":"The transport supported this url. This is an open form string, to be\\neasily extended for many transport protocols. The core ones officially\\nsupported are JSONRPC, GRPC and HTTP+JSON.","type":"string"},"url":{"type":"string"}},"required":["transport","url"],"type":"object"},"AgentProvider":{"description":"Represents the service provider of an agent.","examples":[{"organization":"Google","url":"https://ai.google.dev"}],"properties":{"organization":{"description":"Agent provider\'s organization name.","type":"string"},"url":{"description":"Agent provider\'s URL.","type":"string"}},"required":["organization","url"],"type":"object"},"AgentSkill":{"description":"Represents a unit of capability that an agent can perform.","properties":{"description":{"description":"Description of the skill - will be used by the client or a human\\nas a hint to understand what the skill does.","type":"string"},"examples":{"description":"The set of example scenarios that the skill can perform.\\nWill be used by the client as a hint to understand how the skill can be used.","examples":[["I need a recipe for bread"]],"items":{"type":"string"},"type":"array"},"id":{"description":"Unique identifier for the agent\'s skill.","type":"string"},"inputModes":{"description":"The set of interaction modes that the skill supports\\n(if different than the default).\\nSupported media types for input.","items":{"type":"string"},"type":"array"},"name":{"description":"Human readable name of the skill.","type":"string"},"outputModes":{"description":"Supported media types for output.","items":{"type":"string"},"type":"array"},"tags":{"description":"Set of tagwords describing classes of capabilities for this specific skill.","examples":[["cooking","customer support","billing"]],"items":{"type":"string"},"type":"array"}},"required":["description","id","name","tags"],"type":"object"},"Artifact":{"description":"Represents an artifact generated for a task.","properties":{"artifactId":{"description":"Unique identifier for the artifact.","type":"string"},"description":{"description":"Optional description for the artifact.","type":"string"},"extensions":{"description":"The URIs of extensions that are present or contributed to this Artifact.","items":{"type":"string"},"type":"array"},"metadata":{"additionalProperties":{},"description":"Extension metadata.","type":"object"},"name":{"description":"Optional name for the artifact.","type":"string"},"parts":{"description":"Artifact parts.","items":{"$ref":"#/definitions/Part"},"type":"array"}},"required":["artifactId","parts"],"type":"object"},"AuthorizationCodeOAuthFlow":{"description":"Configuration details for a supported OAuth Flow","properties":{"authorizationUrl":{"description":"The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS","type":"string"},"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope name and a short\\ndescription for it. The map MAY be empty.","type":"object"},"tokenUrl":{"description":"The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard\\nrequires the use of TLS.","type":"string"}},"required":["authorizationUrl","scopes","tokenUrl"],"type":"object"},"CancelTaskRequest":{"description":"JSON-RPC request model for the \'tasks/cancel\' method.","properties":{"id":{"description":"An identifier established by the Client that MUST contain a String, Number.\\nNumbers SHOULD NOT contain fractional parts.","type":["string","integer"]},"jsonrpc":{"const":"2.0","description":"Specifies the version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"method":{"const":"tasks/cancel","description":"A String containing the name of the method to be invoked.","type":"string"},"params":{"$ref":"#/definitions/TaskIdParams","description":"A Structured value that holds the parameter values to be used during the invocation of the method."}},"required":["id","jsonrpc","method","params"],"type":"object"},"CancelTaskResponse":{"anyOf":[{"$ref":"#/definitions/JSONRPCErrorResponse"},{"$ref":"#/definitions/CancelTaskSuccessResponse"}],"description":"JSON-RPC response for the \'tasks/cancel\' method."},"CancelTaskSuccessResponse":{"description":"JSON-RPC success response model for the \'tasks/cancel\' method.","properties":{"id":{"description":"An identifier established by the Client that MUST contain a String, Number.\\nNumbers SHOULD NOT contain fractional parts.","type":["string","integer","null"]},"jsonrpc":{"const":"2.0","description":"Specifies the version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"result":{"$ref":"#/definitions/Task","description":"The result object on success."}},"required":["id","jsonrpc","result"],"type":"object"},"ClientCredentialsOAuthFlow":{"description":"Configuration details for a supported OAuth Flow","properties":{"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope name and a short\\ndescription for it. The map MAY be empty.","type":"object"},"tokenUrl":{"description":"The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard\\nrequires the use of TLS.","type":"string"}},"required":["scopes","tokenUrl"],"type":"object"},"ContentTypeNotSupportedError":{"description":"A2A specific error indicating incompatible content types between request and agent capabilities.","properties":{"code":{"const":-32005,"description":"A Number that indicates the error type that occurred.","type":"integer"},"data":{"description":"A Primitive or Structured value that contains additional information about the error.\\nThis may be omitted."},"message":{"default":"Incompatible content types","description":"A String providing a short description of the error.","type":"string"}},"required":["code","message"],"type":"object"},"DataPart":{"description":"Represents a structured data segment within a message part.","properties":{"data":{"additionalProperties":{},"description":"Structured data content","type":"object"},"kind":{"const":"data","description":"Part type - data for DataParts","type":"string"},"metadata":{"additionalProperties":{},"description":"Optional metadata associated with the part.","type":"object"}},"required":["data","kind"],"type":"object"},"DeleteTaskPushNotificationConfigParams":{"description":"Parameters for removing pushNotificationConfiguration associated with a Task","properties":{"id":{"description":"Task id.","type":"string"},"metadata":{"additionalProperties":{},"type":"object"},"pushNotificationConfigId":{"type":"string"}},"required":["id","pushNotificationConfigId"],"type":"object"},"DeleteTaskPushNotificationConfigRequest":{"description":"JSON-RPC request model for the \'tasks/pushNotificationConfig/delete\' method.","properties":{"id":{"description":"An identifier established by the Client that MUST contain a String, Number.\\nNumbers SHOULD NOT contain fractional parts.","type":["string","integer"]},"jsonrpc":{"const":"2.0","description":"Specifies the version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"method":{"const":"tasks/pushNotificationConfig/delete","description":"A String containing the name of the method to be invoked.","type":"string"},"params":{"$ref":"#/definitions/DeleteTaskPushNotificationConfigParams","description":"A Structured value that holds the parameter values to be used during the invocation of the method."}},"required":["id","jsonrpc","method","params"],"type":"object"},"DeleteTaskPushNotificationConfigResponse":{"anyOf":[{"$ref":"#/definitions/JSONRPCErrorResponse"},{"$ref":"#/definitions/DeleteTaskPushNotificationConfigSuccessResponse"}],"description":"JSON-RPC response for the \'tasks/pushNotificationConfig/delete\' method."},"DeleteTaskPushNotificationConfigSuccessResponse":{"description":"JSON-RPC success response model for the \'tasks/pushNotificationConfig/delete\' method.","properties":{"id":{"description":"An identifier established by the Client that MUST contain a String, Number.\\nNumbers SHOULD NOT contain fractional parts.","type":["string","integer","null"]},"jsonrpc":{"const":"2.0","description":"Specifies the version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"result":{"description":"The result object on success.","type":"null"}},"required":["id","jsonrpc","result"],"type":"object"},"FileBase":{"description":"Represents the base entity for FileParts","properties":{"mimeType":{"description":"Optional mimeType for the file","type":"string"},"name":{"description":"Optional name for the file","type":"string"}},"type":"object"},"FilePart":{"description":"Represents a File segment within parts.","properties":{"file":{"anyOf":[{"$ref":"#/definitions/FileWithBytes"},{"$ref":"#/definitions/FileWithUri"}],"description":"File content either as url or bytes"},"kind":{"const":"file","description":"Part type - file for FileParts","type":"string"},"metadata":{"additionalProperties":{},"description":"Optional metadata associated with the part.","type":"object"}},"required":["file","kind"],"type":"object"},"FileWithBytes":{"description":"Define the variant where \'bytes\' is present and \'uri\' is absent","properties":{"bytes":{"description":"base64 encoded content of the file","type":"string"},"mimeType":{"description":"Optional mimeType for the file","type":"string"},"name":{"description":"Optional name for the file","type":"string"}},"required":["bytes"],"type":"object"},"FileWithUri":{"description":"Define the variant where \'uri\' is present and \'bytes\' is absent","properties":{"mimeType":{"description":"Optional mimeType for the file","type":"string"},"name":{"description":"Optional name for the file","type":"string"},"uri":{"description":"URL for the File content","type":"string"}},"required":["uri"],"type":"object"},"GetTaskPushNotificationConfigParams":{"description":"Parameters for fetching a pushNotificationConfiguration associated with a Task","properties":{"id":{"description":"Task id.","type":"string"},"metadata":{"additionalProperties":{},"type":"object"},"pushNotificationConfigId":{"type":"string"}},"required":["id"],"type":"object"},"GetTaskPushNotificationConfigRequest":{"description":"JSON-RPC request model for the \'tasks/pushNotificationConfig/get\' method.","properties":{"id":{"description":"An identifier established by the Client that MUST contain a String, Number.\\nNumbers SHOULD NOT contain fractional parts.","type":["string","integer"]},"jsonrpc":{"const":"2.0","description":"Specifies the version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"method":{"const":"tasks/pushNotificationConfig/get","description":"A String containing the name of the method to be invoked.","type":"string"},"params":{"anyOf":[{"$ref":"#/definitions/TaskIdParams"},{"$ref":"#/definitions/GetTaskPushNotificationConfigParams"}],"description":"A Structured value that holds the parameter values to be used during the invocation of the method.\\nTaskIdParams type is deprecated for this method use `GetTaskPushNotificationConfigParams` instead."}},"required":["id","jsonrpc","method","params"],"type":"object"},"GetTaskPushNotificationConfigResponse":{"anyOf":[{"$ref":"#/definitions/JSONRPCErrorResponse"},{"$ref":"#/definitions/GetTaskPushNotificationConfigSuccessResponse"}],"description":"JSON-RPC response for the \'tasks/pushNotificationConfig/set\' method."},"GetTaskPushNotificationConfigSuccessResponse":{"description":"JSON-RPC success response model for the \'tasks/pushNotificationConfig/get\' method.","properties":{"id":{"description":"An identifier established by the Client that MUST contain a String, Number.\\nNumbers SHOULD NOT contain fractional parts.","type":["string","integer","null"]},"jsonrpc":{"const":"2.0","description":"Specifies the version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"result":{"$ref":"#/definitions/TaskPushNotificationConfig","description":"The result object on success."}},"required":["id","jsonrpc","result"],"type":"object"},"GetTaskRequest":{"description":"JSON-RPC request model for the \'tasks/get\' method.","properties":{"id":{"description":"An identifier established by the Client that MUST contain a String, Number.\\nNumbers SHOULD NOT contain fractional parts.","type":["string","integer"]},"jsonrpc":{"const":"2.0","description":"Specifies the version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"method":{"const":"tasks/get","description":"A String containing the name of the method to be invoked.","type":"string"},"params":{"$ref":"#/definitions/TaskQueryParams","description":"A Structured value that holds the parameter values to be used during the invocation of the method."}},"required":["id","jsonrpc","method","params"],"type":"object"},"GetTaskResponse":{"anyOf":[{"$ref":"#/definitions/JSONRPCErrorResponse"},{"$ref":"#/definitions/GetTaskSuccessResponse"}],"description":"JSON-RPC response for the \'tasks/get\' method."},"GetTaskSuccessResponse":{"description":"JSON-RPC success response for the \'tasks/get\' method.","properties":{"id":{"description":"An identifier established by the Client that MUST contain a String, Number.\\nNumbers SHOULD NOT contain fractional parts.","type":["string","integer","null"]},"jsonrpc":{"const":"2.0","description":"Specifies the version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"result":{"$ref":"#/definitions/Task","description":"The result object on success."}},"required":["id","jsonrpc","result"],"type":"object"},"HTTPAuthSecurityScheme":{"description":"HTTP Authentication security scheme.","properties":{"bearerFormat":{"description":"A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually\\ngenerated by an authorization server, so this information is primarily for documentation\\npurposes.","type":"string"},"description":{"description":"Description of this security scheme.","type":"string"},"scheme":{"description":"The name of the HTTP Authentication scheme to be used in the Authorization header as defined\\nin RFC7235. The values used SHOULD be registered in the IANA Authentication Scheme registry.\\nThe value is case-insensitive, as defined in RFC7235.","type":"string"},"type":{"const":"http","type":"string"}},"required":["scheme","type"],"type":"object"},"ImplicitOAuthFlow":{"description":"Configuration details for a supported OAuth Flow","properties":{"authorizationUrl":{"description":"The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS","type":"string"},"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope name and a short\\ndescription for it. The map MAY be empty.","type":"object"}},"required":["authorizationUrl","scopes"],"type":"object"},"InternalError":{"description":"JSON-RPC error indicating an internal JSON-RPC error on the server.","properties":{"code":{"const":-32603,"description":"A Number that indicates the error type that occurred.","type":"integer"},"data":{"description":"A Primitive or Structured value that contains additional information about the error.\\nThis may be omitted."},"message":{"default":"Internal error","description":"A String providing a short description of the error.","type":"string"}},"required":["code","message"],"type":"object"},"InvalidAgentResponseError":{"description":"A2A specific error indicating agent returned invalid response for the current method","properties":{"code":{"const":-32006,"description":"A Number that indicates the error type that occurred.","type":"integer"},"data":{"description":"A Primitive or Structured value that contains additional information about the error.\\nThis may be omitted."},"message":{"default":"Invalid agent response","description":"A String providing a short description of the error.","type":"string"}},"required":["code","message"],"type":"object"},"InvalidParamsError":{"description":"JSON-RPC error indicating invalid method parameter(s).","properties":{"code":{"const":-32602,"description":"A Number that indicates the error type that occurred.","type":"integer"},"data":{"description":"A Primitive or Structured value that contains additional information about the error.\\nThis may be omitted."},"message":{"default":"Invalid parameters","description":"A String providing a short description of the error.","type":"string"}},"required":["code","message"],"type":"object"},"InvalidRequestError":{"description":"JSON-RPC error indicating the JSON sent is not a valid Request object.","properties":{"code":{"const":-32600,"description":"A Number that indicates the error type that occurred.","type":"integer"},"data":{"description":"A Primitive or Structured value that contains additional information about the error.\\nThis may be omitted."},"message":{"default":"Request payload validation error","description":"A String providing a short description of the error.","type":"string"}},"required":["code","message"],"type":"object"},"JSONParseError":{"description":"JSON-RPC error indicating invalid JSON was received by the server.","properties":{"code":{"const":-32700,"description":"A Number that indicates the error type that occurred.","type":"integer"},"data":{"description":"A Primitive or Structured value that contains additional information about the error.\\nThis may be omitted."},"message":{"default":"Invalid JSON payload","description":"A String providing a short description of the error.","type":"string"}},"required":["code","message"],"type":"object"},"JSONRPCError":{"description":"Represents a JSON-RPC 2.0 Error object.\\nThis is typically included in a JSONRPCErrorResponse when an error occurs.","properties":{"code":{"description":"A Number that indicates the error type that occurred.","type":"integer"},"data":{"description":"A Primitive or Structured value that contains additional information about the error.\\nThis may be omitted."},"message":{"description":"A String providing a short description of the error.","type":"string"}},"required":["code","message"],"type":"object"},"JSONRPCErrorResponse":{"description":"Represents a JSON-RPC 2.0 Error Response object.","properties":{"error":{"anyOf":[{"$ref":"#/definitions/JSONRPCError"},{"$ref":"#/definitions/JSONParseError"},{"$ref":"#/definitions/InvalidRequestError"},{"$ref":"#/definitions/MethodNotFoundError"},{"$ref":"#/definitions/InvalidParamsError"},{"$ref":"#/definitions/InternalError"},{"$ref":"#/definitions/TaskNotFoundError"},{"$ref":"#/definitions/TaskNotCancelableError"},{"$ref":"#/definitions/PushNotificationNotSupportedError"},{"$ref":"#/definitions/UnsupportedOperationError"},{"$ref":"#/definitions/ContentTypeNotSupportedError"},{"$ref":"#/definitions/InvalidAgentResponseError"}]},"id":{"description":"An identifier established by the Client that MUST contain a String, Number.\\nNumbers SHOULD NOT contain fractional parts.","type":["string","integer","null"]},"jsonrpc":{"const":"2.0","description":"Specifies the version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"}},"required":["error","id","jsonrpc"],"type":"object"},"JSONRPCMessage":{"description":"Base interface for any JSON-RPC 2.0 request or response.","properties":{"id":{"description":"An identifier established by the Client that MUST contain a String, Number.\\nNumbers SHOULD NOT contain fractional parts.","type":["string","integer","null"]},"jsonrpc":{"const":"2.0","description":"Specifies the version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"}},"required":["jsonrpc"],"type":"object"},"JSONRPCRequest":{"description":"Represents a JSON-RPC 2.0 Request object.","properties":{"id":{"description":"An identifier established by the Client that MUST contain a String, Number.\\nNumbers SHOULD NOT contain fractional parts.","type":["string","integer","null"]},"jsonrpc":{"const":"2.0","description":"Specifies the version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string"},"params":{"additionalProperties":{},"description":"A Structured value that holds the parameter values to be used during the invocation of the method.","type":"object"}},"required":["jsonrpc","method"],"type":"object"},"JSONRPCResponse":{"anyOf":[{"$ref":"#/definitions/JSONRPCErrorResponse"},{"$ref":"#/definitions/SendMessageSuccessResponse"},{"$ref":"#/definitions/SendStreamingMessageSuccessResponse"},{"$ref":"#/definitions/GetTaskSuccessResponse"},{"$ref":"#/definitions/CancelTaskSuccessResponse"},{"$ref":"#/definitions/SetTaskPushNotificationConfigSuccessResponse"},{"$ref":"#/definitions/GetTaskPushNotificationConfigSuccessResponse"},{"$ref":"#/definitions/ListTaskPushNotificationConfigSuccessResponse"},{"$ref":"#/definitions/DeleteTaskPushNotificationConfigSuccessResponse"}],"description":"Represents a JSON-RPC 2.0 Response object."},"JSONRPCSuccessResponse":{"description":"Represents a JSON-RPC 2.0 Success Response object.","properties":{"id":{"description":"An identifier established by the Client that MUST contain a String, Number.\\nNumbers SHOULD NOT contain fractional parts.","type":["string","integer","null"]},"jsonrpc":{"const":"2.0","description":"Specifies the version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"result":{"description":"The result object on success"}},"required":["id","jsonrpc","result"],"type":"object"},"ListTaskPushNotificationConfigParams":{"description":"Parameters for getting list of pushNotificationConfigurations associated with a Task","properties":{"id":{"description":"Task id.","type":"string"},"metadata":{"additionalProperties":{},"type":"object"}},"required":["id"],"type":"object"},"ListTaskPushNotificationConfigRequest":{"description":"JSON-RPC request model for the \'tasks/pushNotificationConfig/list\' method.","properties":{"id":{"description":"An identifier established by the Client that MUST contain a String, Number.\\nNumbers SHOULD NOT contain fractional parts.","type":["string","integer"]},"jsonrpc":{"const":"2.0","description":"Specifies the version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"method":{"const":"tasks/pushNotificationConfig/list","description":"A String containing the name of the method to be invoked.","type":"string"},"params":{"$ref":"#/definitions/ListTaskPushNotificationConfigParams","description":"A Structured value that holds the parameter values to be used during the invocation of the method."}},"required":["id","jsonrpc","method","params"],"type":"object"},"ListTaskPushNotificationConfigResponse":{"anyOf":[{"$ref":"#/definitions/JSONRPCErrorResponse"},{"$ref":"#/definitions/ListTaskPushNotificationConfigSuccessResponse"}],"description":"JSON-RPC response for the \'tasks/pushNotificationConfig/list\' method."},"ListTaskPushNotificationConfigSuccessResponse":{"description":"JSON-RPC success response model for the \'tasks/pushNotificationConfig/list\' method.","properties":{"id":{"description":"An identifier established by the Client that MUST contain a String, Number.\\nNumbers SHOULD NOT contain fractional parts.","type":["string","integer","null"]},"jsonrpc":{"const":"2.0","description":"Specifies the version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"result":{"description":"The result object on success.","items":{"$ref":"#/definitions/TaskPushNotificationConfig"},"type":"array"}},"required":["id","jsonrpc","result"],"type":"object"},"Message":{"description":"Represents a single message exchanged between user and agent.","properties":{"contextId":{"description":"The context the message is associated with","type":"string"},"extensions":{"description":"The URIs of extensions that are present or contributed to this Message.","items":{"type":"string"},"type":"array"},"kind":{"const":"message","description":"Event type","type":"string"},"messageId":{"description":"Identifier created by the message creator","type":"string"},"metadata":{"additionalProperties":{},"description":"Extension metadata.","type":"object"},"parts":{"description":"Message content","items":{"$ref":"#/definitions/Part"},"type":"array"},"referenceTaskIds":{"description":"List of tasks referenced as context by this message.","items":{"type":"string"},"type":"array"},"role":{"description":"Message sender\'s role","enum":["agent","user"],"type":"string"},"taskId":{"description":"Identifier of task the message is related to","type":"string"}},"required":["kind","messageId","parts","role"],"type":"object"},"MessageSendConfiguration":{"description":"Configuration for the send message request.","properties":{"acceptedOutputModes":{"description":"Accepted output modalities by the client.","items":{"type":"string"},"type":"array"},"blocking":{"description":"If the server should treat the client as a blocking request.","type":"boolean"},"historyLength":{"description":"Number of recent messages to be retrieved.","type":"integer"},"pushNotificationConfig":{"$ref":"#/definitions/PushNotificationConfig","description":"Where the server should send notifications when disconnected."}},"required":["acceptedOutputModes"],"type":"object"},"MessageSendParams":{"description":"Sent by the client to the agent as a request. May create, continue or restart a task.","properties":{"configuration":{"$ref":"#/definitions/MessageSendConfiguration","description":"Send message configuration."},"message":{"$ref":"#/definitions/Message","description":"The message being sent to the server."},"metadata":{"additionalProperties":{},"description":"Extension metadata.","type":"object"}},"required":["message"],"type":"object"},"MethodNotFoundError":{"description":"JSON-RPC error indicating the method does not exist or is not available.","properties":{"code":{"const":-32601,"description":"A Number that indicates the error type that occurred.","type":"integer"},"data":{"description":"A Primitive or Structured value that contains additional information about the error.\\nThis may be omitted."},"message":{"default":"Method not found","description":"A String providing a short description of the error.","type":"string"}},"required":["code","message"],"type":"object"},"OAuth2SecurityScheme":{"description":"OAuth2.0 security scheme configuration.","properties":{"description":{"description":"Description of this security scheme.","type":"string"},"flows":{"$ref":"#/definitions/OAuthFlows","description":"An object containing configuration information for the flow types supported."},"type":{"const":"oauth2","type":"string"}},"required":["flows","type"],"type":"object"},"OAuthFlows":{"description":"Allows configuration of the supported OAuth Flows","properties":{"authorizationCode":{"$ref":"#/definitions/AuthorizationCodeOAuthFlow","description":"Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0."},"clientCredentials":{"$ref":"#/definitions/ClientCredentialsOAuthFlow","description":"Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0"},"implicit":{"$ref":"#/definitions/ImplicitOAuthFlow","description":"Configuration for the OAuth Implicit flow"},"password":{"$ref":"#/definitions/PasswordOAuthFlow","description":"Configuration for the OAuth Resource Owner Password flow"}},"type":"object"},"OpenIdConnectSecurityScheme":{"description":"OpenID Connect security scheme configuration.","properties":{"description":{"description":"Description of this security scheme.","type":"string"},"openIdConnectUrl":{"description":"Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata.","type":"string"},"type":{"const":"openIdConnect","type":"string"}},"required":["openIdConnectUrl","type"],"type":"object"},"Part":{"anyOf":[{"$ref":"#/definitions/TextPart"},{"$ref":"#/definitions/FilePart"},{"$ref":"#/definitions/DataPart"}],"description":"Represents a part of a message, which can be text, a file, or structured data."},"PartBase":{"description":"Base properties common to all message parts.","properties":{"metadata":{"additionalProperties":{},"description":"Optional metadata associated with the part.","type":"object"}},"type":"object"},"PasswordOAuthFlow":{"description":"Configuration details for a supported OAuth Flow","properties":{"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope name and a short\\ndescription for it. The map MAY be empty.","type":"object"},"tokenUrl":{"description":"The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard\\nrequires the use of TLS.","type":"string"}},"required":["scopes","tokenUrl"],"type":"object"},"PushNotificationAuthenticationInfo":{"description":"Defines authentication details for push notifications.","properties":{"credentials":{"description":"Optional credentials","type":"string"},"schemes":{"description":"Supported authentication schemes - e.g. Basic, Bearer","items":{"type":"string"},"type":"array"}},"required":["schemes"],"type":"object"},"PushNotificationConfig":{"description":"Configuration for setting up push notifications for task updates.","properties":{"authentication":{"$ref":"#/definitions/PushNotificationAuthenticationInfo"},"id":{"description":"Push Notification ID - created by server to support multiple callbacks","type":"string"},"token":{"description":"Token unique to this task/session.","type":"string"},"url":{"description":"URL for sending the push notifications.","type":"string"}},"required":["url"],"type":"object"},"PushNotificationNotSupportedError":{"description":"A2A specific error indicating the agent does not support push notifications.","properties":{"code":{"const":-32003,"description":"A Number that indicates the error type that occurred.","type":"integer"},"data":{"description":"A Primitive or Structured value that contains additional information about the error.\\nThis may be omitted."},"message":{"default":"Push Notification is not supported","description":"A String providing a short description of the error.","type":"string"}},"required":["code","message"],"type":"object"},"SecurityScheme":{"anyOf":[{"$ref":"#/definitions/APIKeySecurityScheme"},{"$ref":"#/definitions/HTTPAuthSecurityScheme"},{"$ref":"#/definitions/OAuth2SecurityScheme"},{"$ref":"#/definitions/OpenIdConnectSecurityScheme"}],"description":"Mirrors the OpenAPI Security Scheme Object\\n(https://swagger.io/specification/#security-scheme-object)"},"SecuritySchemeBase":{"description":"Base properties shared by all security schemes.","properties":{"description":{"description":"Description of this security scheme.","type":"string"}},"type":"object"},"SendMessageRequest":{"description":"JSON-RPC request model for the \'message/send\' method.","properties":{"id":{"description":"An identifier established by the Client that MUST contain a String, Number.\\nNumbers SHOULD NOT contain fractional parts.","type":["string","integer"]},"jsonrpc":{"const":"2.0","description":"Specifies the version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"method":{"const":"message/send","description":"A String containing the name of the method to be invoked.","type":"string"},"params":{"$ref":"#/definitions/MessageSendParams","description":"A Structured value that holds the parameter values to be used during the invocation of the method."}},"required":["id","jsonrpc","method","params"],"type":"object"},"SendMessageResponse":{"anyOf":[{"$ref":"#/definitions/JSONRPCErrorResponse"},{"$ref":"#/definitions/SendMessageSuccessResponse"}],"description":"JSON-RPC response model for the \'message/send\' method."},"SendMessageSuccessResponse":{"description":"JSON-RPC success response model for the \'message/send\' method.","properties":{"id":{"description":"An identifier established by the Client that MUST contain a String, Number.\\nNumbers SHOULD NOT contain fractional parts.","type":["string","integer","null"]},"jsonrpc":{"const":"2.0","description":"Specifies the version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"result":{"anyOf":[{"$ref":"#/definitions/Task"},{"$ref":"#/definitions/Message"}],"description":"The result object on success"}},"required":["id","jsonrpc","result"],"type":"object"},"SendStreamingMessageRequest":{"description":"JSON-RPC request model for the \'message/stream\' method.","properties":{"id":{"description":"An identifier established by the Client that MUST contain a String, Number.\\nNumbers SHOULD NOT contain fractional parts.","type":["string","integer"]},"jsonrpc":{"const":"2.0","description":"Specifies the version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"method":{"const":"message/stream","description":"A String containing the name of the method to be invoked.","type":"string"},"params":{"$ref":"#/definitions/MessageSendParams","description":"A Structured value that holds the parameter values to be used during the invocation of the method."}},"required":["id","jsonrpc","method","params"],"type":"object"},"SendStreamingMessageResponse":{"anyOf":[{"$ref":"#/definitions/JSONRPCErrorResponse"},{"$ref":"#/definitions/SendStreamingMessageSuccessResponse"}],"description":"JSON-RPC response model for the \'message/stream\' method."},"SendStreamingMessageSuccessResponse":{"description":"JSON-RPC success response model for the \'message/stream\' method.","properties":{"id":{"description":"An identifier established by the Client that MUST contain a String, Number.\\nNumbers SHOULD NOT contain fractional parts.","type":["string","integer","null"]},"jsonrpc":{"const":"2.0","description":"Specifies the version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"result":{"anyOf":[{"$ref":"#/definitions/Task"},{"$ref":"#/definitions/Message"},{"$ref":"#/definitions/TaskStatusUpdateEvent"},{"$ref":"#/definitions/TaskArtifactUpdateEvent"}],"description":"The result object on success"}},"required":["id","jsonrpc","result"],"type":"object"},"SetTaskPushNotificationConfigRequest":{"description":"JSON-RPC request model for the \'tasks/pushNotificationConfig/set\' method.","properties":{"id":{"description":"An identifier established by the Client that MUST contain a String, Number.\\nNumbers SHOULD NOT contain fractional parts.","type":["string","integer"]},"jsonrpc":{"const":"2.0","description":"Specifies the version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"method":{"const":"tasks/pushNotificationConfig/set","description":"A String containing the name of the method to be invoked.","type":"string"},"params":{"$ref":"#/definitions/TaskPushNotificationConfig","description":"A Structured value that holds the parameter values to be used during the invocation of the method."}},"required":["id","jsonrpc","method","params"],"type":"object"},"SetTaskPushNotificationConfigResponse":{"anyOf":[{"$ref":"#/definitions/JSONRPCErrorResponse"},{"$ref":"#/definitions/SetTaskPushNotificationConfigSuccessResponse"}],"description":"JSON-RPC response for the \'tasks/pushNotificationConfig/set\' method."},"SetTaskPushNotificationConfigSuccessResponse":{"description":"JSON-RPC success response model for the \'tasks/pushNotificationConfig/set\' method.","properties":{"id":{"description":"An identifier established by the Client that MUST contain a String, Number.\\nNumbers SHOULD NOT contain fractional parts.","type":["string","integer","null"]},"jsonrpc":{"const":"2.0","description":"Specifies the version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"result":{"$ref":"#/definitions/TaskPushNotificationConfig","description":"The result object on success."}},"required":["id","jsonrpc","result"],"type":"object"},"Task":{"properties":{"artifacts":{"description":"Collection of artifacts created by the agent.","items":{"$ref":"#/definitions/Artifact"},"type":"array"},"contextId":{"description":"Server-generated id for contextual alignment across interactions","type":"string"},"history":{"items":{"$ref":"#/definitions/Message"},"type":"array"},"id":{"description":"Unique identifier for the task","type":"string"},"kind":{"const":"task","description":"Event type","type":"string"},"metadata":{"additionalProperties":{},"description":"Extension metadata.","type":"object"},"status":{"$ref":"#/definitions/TaskStatus","description":"Current status of the task"}},"required":["contextId","id","kind","status"],"type":"object"},"TaskArtifactUpdateEvent":{"description":"Sent by server during sendStream or subscribe requests","properties":{"append":{"description":"Indicates if this artifact appends to a previous one","type":"boolean"},"artifact":{"$ref":"#/definitions/Artifact","description":"Generated artifact"},"contextId":{"description":"The context the task is associated with","type":"string"},"kind":{"const":"artifact-update","description":"Event type","type":"string"},"lastChunk":{"description":"Indicates if this is the last chunk of the artifact","type":"boolean"},"metadata":{"additionalProperties":{},"description":"Extension metadata.","type":"object"},"taskId":{"description":"Task id","type":"string"}},"required":["artifact","contextId","kind","taskId"],"type":"object"},"TaskIdParams":{"description":"Parameters containing only a task ID, used for simple task operations.","properties":{"id":{"description":"Task id.","type":"string"},"metadata":{"additionalProperties":{},"type":"object"}},"required":["id"],"type":"object"},"TaskNotCancelableError":{"description":"A2A specific error indicating the task is in a state where it cannot be canceled.","properties":{"code":{"const":-32002,"description":"A Number that indicates the error type that occurred.","type":"integer"},"data":{"description":"A Primitive or Structured value that contains additional information about the error.\\nThis may be omitted."},"message":{"default":"Task cannot be canceled","description":"A String providing a short description of the error.","type":"string"}},"required":["code","message"],"type":"object"},"TaskNotFoundError":{"description":"A2A specific error indicating the requested task ID was not found.","properties":{"code":{"const":-32001,"description":"A Number that indicates the error type that occurred.","type":"integer"},"data":{"description":"A Primitive or Structured value that contains additional information about the error.\\nThis may be omitted."},"message":{"default":"Task not found","description":"A String providing a short description of the error.","type":"string"}},"required":["code","message"],"type":"object"},"TaskPushNotificationConfig":{"description":"Parameters for setting or getting push notification configuration for a task","properties":{"pushNotificationConfig":{"$ref":"#/definitions/PushNotificationConfig","description":"Push notification configuration."},"taskId":{"description":"Task id.","type":"string"}},"required":["pushNotificationConfig","taskId"],"type":"object"},"TaskQueryParams":{"description":"Parameters for querying a task, including optional history length.","properties":{"historyLength":{"description":"Number of recent messages to be retrieved.","type":"integer"},"id":{"description":"Task id.","type":"string"},"metadata":{"additionalProperties":{},"type":"object"}},"required":["id"],"type":"object"},"TaskResubscriptionRequest":{"description":"JSON-RPC request model for the \'tasks/resubscribe\' method.","properties":{"id":{"description":"An identifier established by the Client that MUST contain a String, Number.\\nNumbers SHOULD NOT contain fractional parts.","type":["string","integer"]},"jsonrpc":{"const":"2.0","description":"Specifies the version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"method":{"const":"tasks/resubscribe","description":"A String containing the name of the method to be invoked.","type":"string"},"params":{"$ref":"#/definitions/TaskIdParams","description":"A Structured value that holds the parameter values to be used during the invocation of the method."}},"required":["id","jsonrpc","method","params"],"type":"object"},"TaskState":{"description":"Represents the possible states of a Task.","enum":["submitted","working","input-required","completed","canceled","failed","rejected","auth-required","unknown"],"type":"string"},"TaskStatus":{"description":"TaskState and accompanying message.","properties":{"message":{"$ref":"#/definitions/Message","description":"Additional status updates for client"},"state":{"$ref":"#/definitions/TaskState"},"timestamp":{"description":"ISO 8601 datetime string when the status was recorded.","examples":["2023-10-27T10:00:00Z"],"type":"string"}},"required":["state"],"type":"object"},"TaskStatusUpdateEvent":{"description":"Sent by server during sendStream or subscribe requests","properties":{"contextId":{"description":"The context the task is associated with","type":"string"},"final":{"description":"Indicates the end of the event stream","type":"boolean"},"kind":{"const":"status-update","description":"Event type","type":"string"},"metadata":{"additionalProperties":{},"description":"Extension metadata.","type":"object"},"status":{"$ref":"#/definitions/TaskStatus","description":"Current status of the task"},"taskId":{"description":"Task id","type":"string"}},"required":["contextId","final","kind","status","taskId"],"type":"object"},"TextPart":{"description":"Represents a text segment within parts.","properties":{"kind":{"const":"text","description":"Part type - text for TextParts","type":"string"},"metadata":{"additionalProperties":{},"description":"Optional metadata associated with the part.","type":"object"},"text":{"description":"Text content","type":"string"}},"required":["kind","text"],"type":"object"},"UnsupportedOperationError":{"description":"A2A specific error indicating the requested operation is not supported by the agent.","properties":{"code":{"const":-32004,"description":"A Number that indicates the error type that occurred.","type":"integer"},"data":{"description":"A Primitive or Structured value that contains additional information about the error.\\nThis may be omitted."},"message":{"default":"This operation is not supported","description":"A String providing a short description of the error.","type":"string"}},"required":["code","message"],"type":"object"}}}'))};
|
|
1372
|
+
p(g$a,"amf.agentcard.internal.plugins.parse.entry.AgentCardProtocolVersionEntry$",{oSd:1,PKd:1});var h$a;function i$a(){}i$a.prototype=new INa;i$a.prototype.constructor=i$a;i$a.prototype.ZIa=function(){return Il(new ed('{"$schema":"http://json-schema.org/draft-07/schema#","$ref": "#/definitions/AgentCard","definitions":{"A2AError":{"anyOf":[{"$ref":"#/definitions/JSONParseError"},{"$ref":"#/definitions/InvalidRequestError"},{"$ref":"#/definitions/MethodNotFoundError"},{"$ref":"#/definitions/InvalidParamsError"},{"$ref":"#/definitions/InternalError"},{"$ref":"#/definitions/TaskNotFoundError"},{"$ref":"#/definitions/TaskNotCancelableError"},{"$ref":"#/definitions/PushNotificationNotSupportedError"},{"$ref":"#/definitions/UnsupportedOperationError"},{"$ref":"#/definitions/ContentTypeNotSupportedError"},{"$ref":"#/definitions/InvalidAgentResponseError"},{"$ref":"#/definitions/AuthenticatedExtendedCardNotConfiguredError"}],"description":"A discriminated union of all standard JSON-RPC and A2A-specific error types."},"A2ARequest":{"anyOf":[{"$ref":"#/definitions/SendMessageRequest"},{"$ref":"#/definitions/SendStreamingMessageRequest"},{"$ref":"#/definitions/GetTaskRequest"},{"$ref":"#/definitions/CancelTaskRequest"},{"$ref":"#/definitions/SetTaskPushNotificationConfigRequest"},{"$ref":"#/definitions/GetTaskPushNotificationConfigRequest"},{"$ref":"#/definitions/TaskResubscriptionRequest"},{"$ref":"#/definitions/ListTaskPushNotificationConfigRequest"},{"$ref":"#/definitions/DeleteTaskPushNotificationConfigRequest"},{"$ref":"#/definitions/GetAuthenticatedExtendedCardRequest"}],"description":"A discriminated union representing all possible JSON-RPC 2.0 requests supported by the A2A specification."},"APIKeySecurityScheme":{"description":"Defines a security scheme using an API key.","properties":{"description":{"description":"An optional description for the security scheme.","type":"string"},"in":{"description":"The location of the API key.","enum":["cookie","header","query"],"type":"string"},"name":{"description":"The name of the header, query, or cookie parameter to be used.","type":"string"},"type":{"const":"apiKey","description":"The type of the security scheme. Must be \'apiKey\'.","type":"string"}},"required":["in","name","type"],"type":"object"},"AgentCapabilities":{"description":"Defines optional capabilities supported by an agent.","properties":{"extensions":{"description":"A list of protocol extensions supported by the agent.","items":{"$ref":"#/definitions/AgentExtension"},"type":"array"},"pushNotifications":{"description":"Indicates if the agent supports sending push notifications for asynchronous task updates.","type":"boolean"},"stateTransitionHistory":{"description":"Indicates if the agent provides a history of state transitions for a task.","type":"boolean"},"streaming":{"description":"Indicates if the agent supports Server-Sent Events (SSE) for streaming responses.","type":"boolean"}},"type":"object"},"AgentCard":{"description":"The AgentCard is a self-describing manifest for an agent. It provides essential\\nmetadata including the agent\'s identity, capabilities, skills, supported\\ncommunication methods, and security requirements.","properties":{"additionalInterfaces":{"description":"A list of additional supported interfaces (transport and URL combinations).\\nThis allows agents to expose multiple transports, potentially at different URLs.\\n\\nBest practices:\\n- SHOULD include all supported transports for completeness\\n- SHOULD include an entry matching the main \'url\' and \'preferredTransport\'\\n- MAY reuse URLs if multiple transports are available at the same endpoint\\n- MUST accurately declare the transport available at each URL\\n\\nClients can select any interface from this list based on their transport capabilities\\nand preferences. This enables transport negotiation and fallback scenarios.","items":{"$ref":"#/definitions/AgentInterface"},"type":"array"},"capabilities":{"$ref":"#/definitions/AgentCapabilities","description":"A declaration of optional capabilities supported by the agent."},"defaultInputModes":{"description":"Default set of supported input MIME types for all skills, which can be\\noverridden on a per-skill basis.","items":{"type":"string"},"type":"array"},"defaultOutputModes":{"description":"Default set of supported output MIME types for all skills, which can be\\noverridden on a per-skill basis.","items":{"type":"string"},"type":"array"},"description":{"description":"A human-readable description of the agent, assisting users and other agents\\nin understanding its purpose.","examples":["Agent that helps users with recipes and cooking."],"type":"string"},"documentationUrl":{"description":"An optional URL to the agent\'s documentation.","type":"string"},"iconUrl":{"description":"An optional URL to an icon for the agent.","type":"string"},"name":{"description":"A human-readable name for the agent.","examples":["Recipe Agent"],"type":"string"},"preferredTransport":{"default":"JSONRPC","description":"The transport protocol for the preferred endpoint (the main \'url\' field).\\nIf not specified, defaults to \'JSONRPC\'.\\n\\nIMPORTANT: The transport specified here MUST be available at the main \'url\'.\\nThis creates a binding between the main URL and its supported transport protocol.\\nClients should prefer this transport and URL combination when both are supported.","examples":["JSONRPC","GRPC","HTTP+JSON"],"type":"string"},"protocolVersion":{"default":"0.3.0","description":"The version of the A2A protocol this agent supports.","type":"string"},"provider":{"$ref":"#/definitions/AgentProvider","description":"Information about the agent\'s service provider."},"security":{"description":"A list of security requirement objects that apply to all agent interactions. Each object\\nlists security schemes that can be used. Follows the OpenAPI 3.0 Security Requirement Object.\\nThis list can be seen as an OR of ANDs. Each object in the list describes one possible\\nset of security requirements that must be present on a request. This allows specifying,\\nfor example, \\"callers must either use OAuth OR an API Key AND mTLS.\\"","examples":[[{"oauth":["read"]},{"api-key":[],"mtls":[]}]],"items":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},"type":"array"},"securitySchemes":{"additionalProperties":{"$ref":"#/definitions/SecurityScheme"},"description":"A declaration of the security schemes available to authorize requests. The key is the\\nscheme name. Follows the OpenAPI 3.0 Security Scheme Object.","type":"object"},"signatures":{"description":"JSON Web Signatures computed for this AgentCard.","items":{"$ref":"#/definitions/AgentCardSignature"},"type":"array"},"skills":{"description":"The set of skills, or distinct capabilities, that the agent can perform.","items":{"$ref":"#/definitions/AgentSkill"},"type":"array"},"supportsAuthenticatedExtendedCard":{"description":"If true, the agent can provide an extended agent card with additional details\\nto authenticated users. Defaults to false.","type":"boolean"},"url":{"description":"The preferred endpoint URL for interacting with the agent.\\nThis URL MUST support the transport specified by \'preferredTransport\'.","examples":["https://api.example.com/a2a/v1"],"type":"string"},"version":{"description":"The agent\'s own version number. The format is defined by the provider.","examples":["1.0.0"],"type":"string"}},"required":["capabilities","defaultInputModes","defaultOutputModes","description","name","protocolVersion","skills","url","version"],"type":"object"},"AgentCardSignature":{"description":"AgentCardSignature represents a JWS signature of an AgentCard.\\nThis follows the JSON format of an RFC 7515 JSON Web Signature (JWS).","properties":{"header":{"additionalProperties":{},"description":"The unprotected JWS header values.","type":"object"},"protected":{"description":"The protected JWS header for the signature. This is a Base64url-encoded\\nJSON object, as per RFC 7515.","type":"string"},"signature":{"description":"The computed signature, Base64url-encoded.","type":"string"}},"required":["protected","signature"],"type":"object"},"AgentExtension":{"description":"A declaration of a protocol extension supported by an Agent.","examples":[{"description":"Google OAuth 2.0 authentication","required":false,"uri":"https://developers.google.com/identity/protocols/oauth2"}],"properties":{"description":{"description":"A human-readable description of how this agent uses the extension.","type":"string"},"params":{"additionalProperties":{},"description":"Optional, extension-specific configuration parameters.","type":"object"},"required":{"description":"If true, the client must understand and comply with the extension\'s requirements\\nto interact with the agent.","type":"boolean"},"uri":{"description":"The unique URI identifying the extension.","type":"string"}},"required":["uri"],"type":"object"},"AgentInterface":{"description":"Declares a combination of a target URL and a transport protocol for interacting with the agent.\\nThis allows agents to expose the same functionality over multiple transport mechanisms.","properties":{"transport":{"description":"The transport protocol supported at this URL.","examples":["JSONRPC","GRPC","HTTP+JSON"],"type":"string"},"url":{"description":"The URL where this interface is available. Must be a valid absolute HTTPS URL in production.","examples":["https://api.example.com/a2a/v1","https://grpc.example.com/a2a","https://rest.example.com/v1"],"type":"string"}},"required":["transport","url"],"type":"object"},"AgentProvider":{"description":"Represents the service provider of an agent.","examples":[{"organization":"Google","url":"https://ai.google.dev"}],"properties":{"organization":{"description":"The name of the agent provider\'s organization.","type":"string"},"url":{"description":"A URL for the agent provider\'s website or relevant documentation.","type":"string"}},"required":["organization","url"],"type":"object"},"AgentSkill":{"description":"Represents a distinct capability or function that an agent can perform.","properties":{"description":{"description":"A detailed description of the skill, intended to help clients or users\\nunderstand its purpose and functionality.","type":"string"},"examples":{"description":"Example prompts or scenarios that this skill can handle. Provides a hint to\\nthe client on how to use the skill.","examples":[["I need a recipe for bread"]],"items":{"type":"string"},"type":"array"},"id":{"description":"A unique identifier for the agent\'s skill.","type":"string"},"inputModes":{"description":"The set of supported input MIME types for this skill, overriding the agent\'s defaults.","items":{"type":"string"},"type":"array"},"name":{"description":"A human-readable name for the skill.","type":"string"},"outputModes":{"description":"The set of supported output MIME types for this skill, overriding the agent\'s defaults.","items":{"type":"string"},"type":"array"},"security":{"description":"Security schemes necessary for the agent to leverage this skill.\\nAs in the overall AgentCard.security, this list represents a logical OR of security\\nrequirement objects. Each object is a set of security schemes that must be used together\\n(a logical AND).","examples":[[{"google":["oidc"]}]],"items":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},"type":"array"},"tags":{"description":"A set of keywords describing the skill\'s capabilities.","examples":[["cooking","customer support","billing"]],"items":{"type":"string"},"type":"array"}},"required":["description","id","name","tags"],"type":"object"},"Artifact":{"description":"Represents a file, data structure, or other resource generated by an agent during a task.","properties":{"artifactId":{"description":"A unique identifier for the artifact within the scope of the task.","type":"string"},"description":{"description":"An optional, human-readable description of the artifact.","type":"string"},"extensions":{"description":"The URIs of extensions that are relevant to this artifact.","items":{"type":"string"},"type":"array"},"metadata":{"additionalProperties":{},"description":"Optional metadata for extensions. The key is an extension-specific identifier.","type":"object"},"name":{"description":"An optional, human-readable name for the artifact.","type":"string"},"parts":{"description":"An array of content parts that make up the artifact.","items":{"$ref":"#/definitions/Part"},"type":"array"}},"required":["artifactId","parts"],"type":"object"},"AuthenticatedExtendedCardNotConfiguredError":{"description":"An A2A-specific error indicating that the agent does not have an Authenticated Extended Card configured","properties":{"code":{"const":-32007,"description":"The error code for when an authenticated extended card is not configured.","type":"integer"},"data":{"description":"A primitive or structured value containing additional information about the error.\\nThis may be omitted."},"message":{"default":"Authenticated Extended Card is not configured","description":"The error message.","type":"string"}},"required":["code","message"],"type":"object"},"AuthorizationCodeOAuthFlow":{"description":"Defines configuration details for the OAuth 2.0 Authorization Code flow.","properties":{"authorizationUrl":{"description":"The authorization URL to be used for this flow.\\nThis MUST be a URL and use TLS.","type":"string"},"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens.\\nThis MUST be a URL and use TLS.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope\\nname and a short description for it.","type":"object"},"tokenUrl":{"description":"The token URL to be used for this flow.\\nThis MUST be a URL and use TLS.","type":"string"}},"required":["authorizationUrl","scopes","tokenUrl"],"type":"object"},"CancelTaskRequest":{"description":"Represents a JSON-RPC request for the `tasks/cancel` method.","properties":{"id":{"description":"The identifier for this request.","type":["string","integer"]},"jsonrpc":{"const":"2.0","description":"The version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"method":{"const":"tasks/cancel","description":"The method name. Must be \'tasks/cancel\'.","type":"string"},"params":{"$ref":"#/definitions/TaskIdParams","description":"The parameters identifying the task to cancel."}},"required":["id","jsonrpc","method","params"],"type":"object"},"CancelTaskResponse":{"anyOf":[{"$ref":"#/definitions/JSONRPCErrorResponse"},{"$ref":"#/definitions/CancelTaskSuccessResponse"}],"description":"Represents a JSON-RPC response for the `tasks/cancel` method."},"CancelTaskSuccessResponse":{"description":"Represents a successful JSON-RPC response for the `tasks/cancel` method.","properties":{"id":{"description":"The identifier established by the client.","type":["string","integer","null"]},"jsonrpc":{"const":"2.0","description":"The version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"result":{"$ref":"#/definitions/Task","description":"The result, containing the final state of the canceled Task object."}},"required":["id","jsonrpc","result"],"type":"object"},"ClientCredentialsOAuthFlow":{"description":"Defines configuration details for the OAuth 2.0 Client Credentials flow.","properties":{"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be a URL.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope\\nname and a short description for it.","type":"object"},"tokenUrl":{"description":"The token URL to be used for this flow. This MUST be a URL.","type":"string"}},"required":["scopes","tokenUrl"],"type":"object"},"ContentTypeNotSupportedError":{"description":"An A2A-specific error indicating an incompatibility between the requested\\ncontent types and the agent\'s capabilities.","properties":{"code":{"const":-32005,"description":"The error code for an unsupported content type.","type":"integer"},"data":{"description":"A primitive or structured value containing additional information about the error.\\nThis may be omitted."},"message":{"default":"Incompatible content types","description":"The error message.","type":"string"}},"required":["code","message"],"type":"object"},"DataPart":{"description":"Represents a structured data segment (e.g., JSON) within a message or artifact.","properties":{"data":{"additionalProperties":{},"description":"The structured data content.","type":"object"},"kind":{"const":"data","description":"The type of this part, used as a discriminator. Always \'data\'.","type":"string"},"metadata":{"additionalProperties":{},"description":"Optional metadata associated with this part.","type":"object"}},"required":["data","kind"],"type":"object"},"DeleteTaskPushNotificationConfigParams":{"description":"Defines parameters for deleting a specific push notification configuration for a task.","properties":{"id":{"description":"The unique identifier of the task.","type":"string"},"metadata":{"additionalProperties":{},"description":"Optional metadata associated with the request.","type":"object"},"pushNotificationConfigId":{"description":"The ID of the push notification configuration to delete.","type":"string"}},"required":["id","pushNotificationConfigId"],"type":"object"},"DeleteTaskPushNotificationConfigRequest":{"description":"Represents a JSON-RPC request for the `tasks/pushNotificationConfig/delete` method.","properties":{"id":{"description":"The identifier for this request.","type":["string","integer"]},"jsonrpc":{"const":"2.0","description":"The version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"method":{"const":"tasks/pushNotificationConfig/delete","description":"The method name. Must be \'tasks/pushNotificationConfig/delete\'.","type":"string"},"params":{"$ref":"#/definitions/DeleteTaskPushNotificationConfigParams","description":"The parameters identifying the push notification configuration to delete."}},"required":["id","jsonrpc","method","params"],"type":"object"},"DeleteTaskPushNotificationConfigResponse":{"anyOf":[{"$ref":"#/definitions/JSONRPCErrorResponse"},{"$ref":"#/definitions/DeleteTaskPushNotificationConfigSuccessResponse"}],"description":"Represents a JSON-RPC response for the `tasks/pushNotificationConfig/delete` method."},"DeleteTaskPushNotificationConfigSuccessResponse":{"description":"Represents a successful JSON-RPC response for the `tasks/pushNotificationConfig/delete` method.","properties":{"id":{"description":"The identifier established by the client.","type":["string","integer","null"]},"jsonrpc":{"const":"2.0","description":"The version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"result":{"description":"The result is null on successful deletion.","type":"null"}},"required":["id","jsonrpc","result"],"type":"object"},"FileBase":{"description":"Defines base properties for a file.","properties":{"mimeType":{"description":"The MIME type of the file (e.g., \\"application/pdf\\").","type":"string"},"name":{"description":"An optional name for the file (e.g., \\"document.pdf\\").","type":"string"}},"type":"object"},"FilePart":{"description":"Represents a file segment within a message or artifact. The file content can be\\nprovided either directly as bytes or as a URI.","properties":{"file":{"anyOf":[{"$ref":"#/definitions/FileWithBytes"},{"$ref":"#/definitions/FileWithUri"}],"description":"The file content, represented as either a URI or as base64-encoded bytes."},"kind":{"const":"file","description":"The type of this part, used as a discriminator. Always \'file\'.","type":"string"},"metadata":{"additionalProperties":{},"description":"Optional metadata associated with this part.","type":"object"}},"required":["file","kind"],"type":"object"},"FileWithBytes":{"description":"Represents a file with its content provided directly as a base64-encoded string.","properties":{"bytes":{"description":"The base64-encoded content of the file.","type":"string"},"mimeType":{"description":"The MIME type of the file (e.g., \\"application/pdf\\").","type":"string"},"name":{"description":"An optional name for the file (e.g., \\"document.pdf\\").","type":"string"}},"required":["bytes"],"type":"object"},"FileWithUri":{"description":"Represents a file with its content located at a specific URI.","properties":{"mimeType":{"description":"The MIME type of the file (e.g., \\"application/pdf\\").","type":"string"},"name":{"description":"An optional name for the file (e.g., \\"document.pdf\\").","type":"string"},"uri":{"description":"A URL pointing to the file\'s content.","type":"string"}},"required":["uri"],"type":"object"},"GetAuthenticatedExtendedCardRequest":{"description":"Represents a JSON-RPC request for the `agent/getAuthenticatedExtendedCard` method.","properties":{"id":{"description":"The identifier for this request.","type":["string","integer"]},"jsonrpc":{"const":"2.0","description":"The version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"method":{"const":"agent/getAuthenticatedExtendedCard","description":"The method name. Must be \'agent/getAuthenticatedExtendedCard\'.","type":"string"}},"required":["id","jsonrpc","method"],"type":"object"},"GetAuthenticatedExtendedCardResponse":{"anyOf":[{"$ref":"#/definitions/JSONRPCErrorResponse"},{"$ref":"#/definitions/GetAuthenticatedExtendedCardSuccessResponse"}],"description":"Represents a JSON-RPC response for the `agent/getAuthenticatedExtendedCard` method."},"GetAuthenticatedExtendedCardSuccessResponse":{"description":"Represents a successful JSON-RPC response for the `agent/getAuthenticatedExtendedCard` method.","properties":{"id":{"description":"The identifier established by the client.","type":["string","integer","null"]},"jsonrpc":{"const":"2.0","description":"The version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"result":{"$ref":"#/definitions/AgentCard","description":"The result is an Agent Card object."}},"required":["id","jsonrpc","result"],"type":"object"},"GetTaskPushNotificationConfigParams":{"description":"Defines parameters for fetching a specific push notification configuration for a task.","properties":{"id":{"description":"The unique identifier of the task.","type":"string"},"metadata":{"additionalProperties":{},"description":"Optional metadata associated with the request.","type":"object"},"pushNotificationConfigId":{"description":"The ID of the push notification configuration to retrieve.","type":"string"}},"required":["id"],"type":"object"},"GetTaskPushNotificationConfigRequest":{"description":"Represents a JSON-RPC request for the `tasks/pushNotificationConfig/get` method.","properties":{"id":{"description":"The identifier for this request.","type":["string","integer"]},"jsonrpc":{"const":"2.0","description":"The version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"method":{"const":"tasks/pushNotificationConfig/get","description":"The method name. Must be \'tasks/pushNotificationConfig/get\'.","type":"string"},"params":{"anyOf":[{"$ref":"#/definitions/TaskIdParams"},{"$ref":"#/definitions/GetTaskPushNotificationConfigParams"}],"description":"The parameters for getting a push notification configuration."}},"required":["id","jsonrpc","method","params"],"type":"object"},"GetTaskPushNotificationConfigResponse":{"anyOf":[{"$ref":"#/definitions/JSONRPCErrorResponse"},{"$ref":"#/definitions/GetTaskPushNotificationConfigSuccessResponse"}],"description":"Represents a JSON-RPC response for the `tasks/pushNotificationConfig/get` method."},"GetTaskPushNotificationConfigSuccessResponse":{"description":"Represents a successful JSON-RPC response for the `tasks/pushNotificationConfig/get` method.","properties":{"id":{"description":"The identifier established by the client.","type":["string","integer","null"]},"jsonrpc":{"const":"2.0","description":"The version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"result":{"$ref":"#/definitions/TaskPushNotificationConfig","description":"The result, containing the requested push notification configuration."}},"required":["id","jsonrpc","result"],"type":"object"},"GetTaskRequest":{"description":"Represents a JSON-RPC request for the `tasks/get` method.","properties":{"id":{"description":"The identifier for this request.","type":["string","integer"]},"jsonrpc":{"const":"2.0","description":"The version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"method":{"const":"tasks/get","description":"The method name. Must be \'tasks/get\'.","type":"string"},"params":{"$ref":"#/definitions/TaskQueryParams","description":"The parameters for querying a task."}},"required":["id","jsonrpc","method","params"],"type":"object"},"GetTaskResponse":{"anyOf":[{"$ref":"#/definitions/JSONRPCErrorResponse"},{"$ref":"#/definitions/GetTaskSuccessResponse"}],"description":"Represents a JSON-RPC response for the `tasks/get` method."},"GetTaskSuccessResponse":{"description":"Represents a successful JSON-RPC response for the `tasks/get` method.","properties":{"id":{"description":"The identifier established by the client.","type":["string","integer","null"]},"jsonrpc":{"const":"2.0","description":"The version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"result":{"$ref":"#/definitions/Task","description":"The result, containing the requested Task object."}},"required":["id","jsonrpc","result"],"type":"object"},"HTTPAuthSecurityScheme":{"description":"Defines a security scheme using HTTP authentication.","properties":{"bearerFormat":{"description":"A hint to the client to identify how the bearer token is formatted (e.g., \\"JWT\\").\\nThis is primarily for documentation purposes.","type":"string"},"description":{"description":"An optional description for the security scheme.","type":"string"},"scheme":{"description":"The name of the HTTP Authentication scheme to be used in the Authorization header,\\nas defined in RFC7235 (e.g., \\"Bearer\\").\\nThis value should be registered in the IANA Authentication Scheme registry.","type":"string"},"type":{"const":"http","description":"The type of the security scheme. Must be \'http\'.","type":"string"}},"required":["scheme","type"],"type":"object"},"ImplicitOAuthFlow":{"description":"Defines configuration details for the OAuth 2.0 Implicit flow.","properties":{"authorizationUrl":{"description":"The authorization URL to be used for this flow. This MUST be a URL.","type":"string"},"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be a URL.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope\\nname and a short description for it.","type":"object"}},"required":["authorizationUrl","scopes"],"type":"object"},"InternalError":{"description":"An error indicating an internal error on the server.","properties":{"code":{"const":-32603,"description":"The error code for an internal server error.","type":"integer"},"data":{"description":"A primitive or structured value containing additional information about the error.\\nThis may be omitted."},"message":{"default":"Internal error","description":"The error message.","type":"string"}},"required":["code","message"],"type":"object"},"InvalidAgentResponseError":{"description":"An A2A-specific error indicating that the agent returned a response that\\ndoes not conform to the specification for the current method.","properties":{"code":{"const":-32006,"description":"The error code for an invalid agent response.","type":"integer"},"data":{"description":"A primitive or structured value containing additional information about the error.\\nThis may be omitted."},"message":{"default":"Invalid agent response","description":"The error message.","type":"string"}},"required":["code","message"],"type":"object"},"InvalidParamsError":{"description":"An error indicating that the method parameters are invalid.","properties":{"code":{"const":-32602,"description":"The error code for an invalid parameters error.","type":"integer"},"data":{"description":"A primitive or structured value containing additional information about the error.\\nThis may be omitted."},"message":{"default":"Invalid parameters","description":"The error message.","type":"string"}},"required":["code","message"],"type":"object"},"InvalidRequestError":{"description":"An error indicating that the JSON sent is not a valid Request object.","properties":{"code":{"const":-32600,"description":"The error code for an invalid request.","type":"integer"},"data":{"description":"A primitive or structured value containing additional information about the error.\\nThis may be omitted."},"message":{"default":"Request payload validation error","description":"The error message.","type":"string"}},"required":["code","message"],"type":"object"},"JSONParseError":{"description":"An error indicating that the server received invalid JSON.","properties":{"code":{"const":-32700,"description":"The error code for a JSON parse error.","type":"integer"},"data":{"description":"A primitive or structured value containing additional information about the error.\\nThis may be omitted."},"message":{"default":"Invalid JSON payload","description":"The error message.","type":"string"}},"required":["code","message"],"type":"object"},"JSONRPCError":{"description":"Represents a JSON-RPC 2.0 Error object, included in an error response.","properties":{"code":{"description":"A number that indicates the error type that occurred.","type":"integer"},"data":{"description":"A primitive or structured value containing additional information about the error.\\nThis may be omitted."},"message":{"description":"A string providing a short description of the error.","type":"string"}},"required":["code","message"],"type":"object"},"JSONRPCErrorResponse":{"description":"Represents a JSON-RPC 2.0 Error Response object.","properties":{"error":{"anyOf":[{"$ref":"#/definitions/JSONRPCError"},{"$ref":"#/definitions/JSONParseError"},{"$ref":"#/definitions/InvalidRequestError"},{"$ref":"#/definitions/MethodNotFoundError"},{"$ref":"#/definitions/InvalidParamsError"},{"$ref":"#/definitions/InternalError"},{"$ref":"#/definitions/TaskNotFoundError"},{"$ref":"#/definitions/TaskNotCancelableError"},{"$ref":"#/definitions/PushNotificationNotSupportedError"},{"$ref":"#/definitions/UnsupportedOperationError"},{"$ref":"#/definitions/ContentTypeNotSupportedError"},{"$ref":"#/definitions/InvalidAgentResponseError"},{"$ref":"#/definitions/AuthenticatedExtendedCardNotConfiguredError"}],"description":"An object describing the error that occurred."},"id":{"description":"The identifier established by the client.","type":["string","integer","null"]},"jsonrpc":{"const":"2.0","description":"The version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"}},"required":["error","id","jsonrpc"],"type":"object"},"JSONRPCMessage":{"description":"Defines the base structure for any JSON-RPC 2.0 request, response, or notification.","properties":{"id":{"description":"A unique identifier established by the client. It must be a String, a Number, or null.\\nThe server must reply with the same value in the response. This property is omitted for notifications.","type":["string","integer","null"]},"jsonrpc":{"const":"2.0","description":"The version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"}},"required":["jsonrpc"],"type":"object"},"JSONRPCRequest":{"description":"Represents a JSON-RPC 2.0 Request object.","properties":{"id":{"description":"A unique identifier established by the client. It must be a String, a Number, or null.\\nThe server must reply with the same value in the response. This property is omitted for notifications.","type":["string","integer","null"]},"jsonrpc":{"const":"2.0","description":"The version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"method":{"description":"A string containing the name of the method to be invoked.","type":"string"},"params":{"additionalProperties":{},"description":"A structured value holding the parameter values to be used during the method invocation.","type":"object"}},"required":["jsonrpc","method"],"type":"object"},"JSONRPCResponse":{"anyOf":[{"$ref":"#/definitions/JSONRPCErrorResponse"},{"$ref":"#/definitions/SendMessageSuccessResponse"},{"$ref":"#/definitions/SendStreamingMessageSuccessResponse"},{"$ref":"#/definitions/GetTaskSuccessResponse"},{"$ref":"#/definitions/CancelTaskSuccessResponse"},{"$ref":"#/definitions/SetTaskPushNotificationConfigSuccessResponse"},{"$ref":"#/definitions/GetTaskPushNotificationConfigSuccessResponse"},{"$ref":"#/definitions/ListTaskPushNotificationConfigSuccessResponse"},{"$ref":"#/definitions/DeleteTaskPushNotificationConfigSuccessResponse"},{"$ref":"#/definitions/GetAuthenticatedExtendedCardSuccessResponse"}],"description":"A discriminated union representing all possible JSON-RPC 2.0 responses\\nfor the A2A specification methods."},"JSONRPCSuccessResponse":{"description":"Represents a successful JSON-RPC 2.0 Response object.","properties":{"id":{"description":"The identifier established by the client.","type":["string","integer","null"]},"jsonrpc":{"const":"2.0","description":"The version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"result":{"description":"The value of this member is determined by the method invoked on the Server."}},"required":["id","jsonrpc","result"],"type":"object"},"ListTaskPushNotificationConfigParams":{"description":"Defines parameters for listing all push notification configurations associated with a task.","properties":{"id":{"description":"The unique identifier of the task.","type":"string"},"metadata":{"additionalProperties":{},"description":"Optional metadata associated with the request.","type":"object"}},"required":["id"],"type":"object"},"ListTaskPushNotificationConfigRequest":{"description":"Represents a JSON-RPC request for the `tasks/pushNotificationConfig/list` method.","properties":{"id":{"description":"The identifier for this request.","type":["string","integer"]},"jsonrpc":{"const":"2.0","description":"The version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"method":{"const":"tasks/pushNotificationConfig/list","description":"The method name. Must be \'tasks/pushNotificationConfig/list\'.","type":"string"},"params":{"$ref":"#/definitions/ListTaskPushNotificationConfigParams","description":"The parameters identifying the task whose configurations are to be listed."}},"required":["id","jsonrpc","method","params"],"type":"object"},"ListTaskPushNotificationConfigResponse":{"anyOf":[{"$ref":"#/definitions/JSONRPCErrorResponse"},{"$ref":"#/definitions/ListTaskPushNotificationConfigSuccessResponse"}],"description":"Represents a JSON-RPC response for the `tasks/pushNotificationConfig/list` method."},"ListTaskPushNotificationConfigSuccessResponse":{"description":"Represents a successful JSON-RPC response for the `tasks/pushNotificationConfig/list` method.","properties":{"id":{"description":"The identifier established by the client.","type":["string","integer","null"]},"jsonrpc":{"const":"2.0","description":"The version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"result":{"description":"The result, containing an array of all push notification configurations for the task.","items":{"$ref":"#/definitions/TaskPushNotificationConfig"},"type":"array"}},"required":["id","jsonrpc","result"],"type":"object"},"Message":{"description":"Represents a single message in the conversation between a user and an agent.","properties":{"contextId":{"description":"The context identifier for this message, used to group related interactions.","type":"string"},"extensions":{"description":"The URIs of extensions that are relevant to this message.","items":{"type":"string"},"type":"array"},"kind":{"const":"message","description":"The type of this object, used as a discriminator. Always \'message\' for a Message.","type":"string"},"messageId":{"description":"A unique identifier for the message, typically a UUID, generated by the sender.","type":"string"},"metadata":{"additionalProperties":{},"description":"Optional metadata for extensions. The key is an extension-specific identifier.","type":"object"},"parts":{"description":"An array of content parts that form the message body. A message can be\\ncomposed of multiple parts of different types (e.g., text and files).","items":{"$ref":"#/definitions/Part"},"type":"array"},"referenceTaskIds":{"description":"A list of other task IDs that this message references for additional context.","items":{"type":"string"},"type":"array"},"role":{"description":"Identifies the sender of the message. `user` for the client, `agent` for the service.","enum":["agent","user"],"type":"string"},"taskId":{"description":"The identifier of the task this message is part of. Can be omitted for the first message of a new task.","type":"string"}},"required":["kind","messageId","parts","role"],"type":"object"},"MessageSendConfiguration":{"description":"Defines configuration options for a `message/send` or `message/stream` request.","properties":{"acceptedOutputModes":{"description":"A list of output MIME types the client is prepared to accept in the response.","items":{"type":"string"},"type":"array"},"blocking":{"description":"If true, the client will wait for the task to complete. The server may reject this if the task is long-running.","type":"boolean"},"historyLength":{"description":"The number of most recent messages from the task\'s history to retrieve in the response.","type":"integer"},"pushNotificationConfig":{"$ref":"#/definitions/PushNotificationConfig","description":"Configuration for the agent to send push notifications for updates after the initial response."}},"type":"object"},"MessageSendParams":{"description":"Defines the parameters for a request to send a message to an agent. This can be used\\nto create a new task, continue an existing one, or restart a task.","properties":{"configuration":{"$ref":"#/definitions/MessageSendConfiguration","description":"Optional configuration for the send request."},"message":{"$ref":"#/definitions/Message","description":"The message object being sent to the agent."},"metadata":{"additionalProperties":{},"description":"Optional metadata for extensions.","type":"object"}},"required":["message"],"type":"object"},"MethodNotFoundError":{"description":"An error indicating that the requested method does not exist or is not available.","properties":{"code":{"const":-32601,"description":"The error code for a method not found error.","type":"integer"},"data":{"description":"A primitive or structured value containing additional information about the error.\\nThis may be omitted."},"message":{"default":"Method not found","description":"The error message.","type":"string"}},"required":["code","message"],"type":"object"},"MutualTLSSecurityScheme":{"description":"Defines a security scheme using mTLS authentication.","properties":{"description":{"description":"An optional description for the security scheme.","type":"string"},"type":{"const":"mutualTLS","description":"The type of the security scheme. Must be \'mutualTLS\'.","type":"string"}},"required":["type"],"type":"object"},"OAuth2SecurityScheme":{"description":"Defines a security scheme using OAuth 2.0.","properties":{"description":{"description":"An optional description for the security scheme.","type":"string"},"flows":{"$ref":"#/definitions/OAuthFlows","description":"An object containing configuration information for the supported OAuth 2.0 flows."},"oauth2MetadataUrl":{"description":"URL to the oauth2 authorization server metadata\\n[RFC8414](https://datatracker.ietf.org/doc/html/rfc8414). TLS is required.","type":"string"},"type":{"const":"oauth2","description":"The type of the security scheme. Must be \'oauth2\'.","type":"string"}},"required":["flows","type"],"type":"object"},"OAuthFlows":{"description":"Defines the configuration for the supported OAuth 2.0 flows.","properties":{"authorizationCode":{"$ref":"#/definitions/AuthorizationCodeOAuthFlow","description":"Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0."},"clientCredentials":{"$ref":"#/definitions/ClientCredentialsOAuthFlow","description":"Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0."},"implicit":{"$ref":"#/definitions/ImplicitOAuthFlow","description":"Configuration for the OAuth Implicit flow."},"password":{"$ref":"#/definitions/PasswordOAuthFlow","description":"Configuration for the OAuth Resource Owner Password flow."}},"type":"object"},"OpenIdConnectSecurityScheme":{"description":"Defines a security scheme using OpenID Connect.","properties":{"description":{"description":"An optional description for the security scheme.","type":"string"},"openIdConnectUrl":{"description":"The OpenID Connect Discovery URL for the OIDC provider\'s metadata.","type":"string"},"type":{"const":"openIdConnect","description":"The type of the security scheme. Must be \'openIdConnect\'.","type":"string"}},"required":["openIdConnectUrl","type"],"type":"object"},"Part":{"anyOf":[{"$ref":"#/definitions/TextPart"},{"$ref":"#/definitions/FilePart"},{"$ref":"#/definitions/DataPart"}],"description":"A discriminated union representing a part of a message or artifact, which can\\nbe text, a file, or structured data."},"PartBase":{"description":"Defines base properties common to all message or artifact parts.","properties":{"metadata":{"additionalProperties":{},"description":"Optional metadata associated with this part.","type":"object"}},"type":"object"},"PasswordOAuthFlow":{"description":"Defines configuration details for the OAuth 2.0 Resource Owner Password flow.","properties":{"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be a URL.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope\\nname and a short description for it.","type":"object"},"tokenUrl":{"description":"The token URL to be used for this flow. This MUST be a URL.","type":"string"}},"required":["scopes","tokenUrl"],"type":"object"},"PushNotificationAuthenticationInfo":{"description":"Defines authentication details for a push notification endpoint.","properties":{"credentials":{"description":"Optional credentials required by the push notification endpoint.","type":"string"},"schemes":{"description":"A list of supported authentication schemes (e.g., \'Basic\', \'Bearer\').","items":{"type":"string"},"type":"array"}},"required":["schemes"],"type":"object"},"PushNotificationConfig":{"description":"Defines the configuration for setting up push notifications for task updates.","properties":{"authentication":{"$ref":"#/definitions/PushNotificationAuthenticationInfo","description":"Optional authentication details for the agent to use when calling the notification URL."},"id":{"description":"A unique ID for the push notification configuration, set by the client\\nto support multiple notification callbacks.","type":"string"},"token":{"description":"A unique token for this task or session to validate incoming push notifications.","type":"string"},"url":{"description":"The callback URL where the agent should send push notifications.","type":"string"}},"required":["url"],"type":"object"},"PushNotificationNotSupportedError":{"description":"An A2A-specific error indicating that the agent does not support push notifications.","properties":{"code":{"const":-32003,"description":"The error code for when push notifications are not supported.","type":"integer"},"data":{"description":"A primitive or structured value containing additional information about the error.\\nThis may be omitted."},"message":{"default":"Push Notification is not supported","description":"The error message.","type":"string"}},"required":["code","message"],"type":"object"},"SecurityScheme":{"anyOf":[{"$ref":"#/definitions/APIKeySecurityScheme"},{"$ref":"#/definitions/HTTPAuthSecurityScheme"},{"$ref":"#/definitions/OAuth2SecurityScheme"},{"$ref":"#/definitions/OpenIdConnectSecurityScheme"},{"$ref":"#/definitions/MutualTLSSecurityScheme"}],"description":"Defines a security scheme that can be used to secure an agent\'s endpoints.\\nThis is a discriminated union type based on the OpenAPI 3.0 Security Scheme Object."},"SecuritySchemeBase":{"description":"Defines base properties shared by all security scheme objects.","properties":{"description":{"description":"An optional description for the security scheme.","type":"string"}},"type":"object"},"SendMessageRequest":{"description":"Represents a JSON-RPC request for the `message/send` method.","properties":{"id":{"description":"The identifier for this request.","type":["string","integer"]},"jsonrpc":{"const":"2.0","description":"The version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"method":{"const":"message/send","description":"The method name. Must be \'message/send\'.","type":"string"},"params":{"$ref":"#/definitions/MessageSendParams","description":"The parameters for sending a message."}},"required":["id","jsonrpc","method","params"],"type":"object"},"SendMessageResponse":{"anyOf":[{"$ref":"#/definitions/JSONRPCErrorResponse"},{"$ref":"#/definitions/SendMessageSuccessResponse"}],"description":"Represents a JSON-RPC response for the `message/send` method."},"SendMessageSuccessResponse":{"description":"Represents a successful JSON-RPC response for the `message/send` method.","properties":{"id":{"description":"The identifier established by the client.","type":["string","integer","null"]},"jsonrpc":{"const":"2.0","description":"The version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"result":{"anyOf":[{"$ref":"#/definitions/Task"},{"$ref":"#/definitions/Message"}],"description":"The result, which can be a direct reply Message or the initial Task object."}},"required":["id","jsonrpc","result"],"type":"object"},"SendStreamingMessageRequest":{"description":"Represents a JSON-RPC request for the `message/stream` method.","properties":{"id":{"description":"The identifier for this request.","type":["string","integer"]},"jsonrpc":{"const":"2.0","description":"The version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"method":{"const":"message/stream","description":"The method name. Must be \'message/stream\'.","type":"string"},"params":{"$ref":"#/definitions/MessageSendParams","description":"The parameters for sending a message."}},"required":["id","jsonrpc","method","params"],"type":"object"},"SendStreamingMessageResponse":{"anyOf":[{"$ref":"#/definitions/JSONRPCErrorResponse"},{"$ref":"#/definitions/SendStreamingMessageSuccessResponse"}],"description":"Represents a JSON-RPC response for the `message/stream` method."},"SendStreamingMessageSuccessResponse":{"description":"Represents a successful JSON-RPC response for the `message/stream` method.\\nThe server may send multiple response objects for a single request.","properties":{"id":{"description":"The identifier established by the client.","type":["string","integer","null"]},"jsonrpc":{"const":"2.0","description":"The version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"result":{"anyOf":[{"$ref":"#/definitions/Task"},{"$ref":"#/definitions/Message"},{"$ref":"#/definitions/TaskStatusUpdateEvent"},{"$ref":"#/definitions/TaskArtifactUpdateEvent"}],"description":"The result, which can be a Message, Task, or a streaming update event."}},"required":["id","jsonrpc","result"],"type":"object"},"SetTaskPushNotificationConfigRequest":{"description":"Represents a JSON-RPC request for the `tasks/pushNotificationConfig/set` method.","properties":{"id":{"description":"The identifier for this request.","type":["string","integer"]},"jsonrpc":{"const":"2.0","description":"The version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"method":{"const":"tasks/pushNotificationConfig/set","description":"The method name. Must be \'tasks/pushNotificationConfig/set\'.","type":"string"},"params":{"$ref":"#/definitions/TaskPushNotificationConfig","description":"The parameters for setting the push notification configuration."}},"required":["id","jsonrpc","method","params"],"type":"object"},"SetTaskPushNotificationConfigResponse":{"anyOf":[{"$ref":"#/definitions/JSONRPCErrorResponse"},{"$ref":"#/definitions/SetTaskPushNotificationConfigSuccessResponse"}],"description":"Represents a JSON-RPC response for the `tasks/pushNotificationConfig/set` method."},"SetTaskPushNotificationConfigSuccessResponse":{"description":"Represents a successful JSON-RPC response for the `tasks/pushNotificationConfig/set` method.","properties":{"id":{"description":"The identifier established by the client.","type":["string","integer","null"]},"jsonrpc":{"const":"2.0","description":"The version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"result":{"$ref":"#/definitions/TaskPushNotificationConfig","description":"The result, containing the configured push notification settings."}},"required":["id","jsonrpc","result"],"type":"object"},"Task":{"description":"Represents a single, stateful operation or conversation between a client and an agent.","properties":{"artifacts":{"description":"A collection of artifacts generated by the agent during the execution of the task.","items":{"$ref":"#/definitions/Artifact"},"type":"array"},"contextId":{"description":"A server-generated identifier for maintaining context across multiple related tasks or interactions.","type":"string"},"history":{"description":"An array of messages exchanged during the task, representing the conversation history.","items":{"$ref":"#/definitions/Message"},"type":"array"},"id":{"description":"A unique identifier for the task, generated by the server for a new task.","type":"string"},"kind":{"const":"task","description":"The type of this object, used as a discriminator. Always \'task\' for a Task.","type":"string"},"metadata":{"additionalProperties":{},"description":"Optional metadata for extensions. The key is an extension-specific identifier.","type":"object"},"status":{"$ref":"#/definitions/TaskStatus","description":"The current status of the task, including its state and a descriptive message."}},"required":["contextId","id","kind","status"],"type":"object"},"TaskArtifactUpdateEvent":{"description":"An event sent by the agent to notify the client that an artifact has been\\ngenerated or updated. This is typically used in streaming models.","properties":{"append":{"description":"If true, the content of this artifact should be appended to a previously sent artifact with the same ID.","type":"boolean"},"artifact":{"$ref":"#/definitions/Artifact","description":"The artifact that was generated or updated."},"contextId":{"description":"The context ID associated with the task.","type":"string"},"kind":{"const":"artifact-update","description":"The type of this event, used as a discriminator. Always \'artifact-update\'.","type":"string"},"lastChunk":{"description":"If true, this is the final chunk of the artifact.","type":"boolean"},"metadata":{"additionalProperties":{},"description":"Optional metadata for extensions.","type":"object"},"taskId":{"description":"The ID of the task this artifact belongs to.","type":"string"}},"required":["artifact","contextId","kind","taskId"],"type":"object"},"TaskIdParams":{"description":"Defines parameters containing a task ID, used for simple task operations.","properties":{"id":{"description":"The unique identifier of the task.","type":"string"},"metadata":{"additionalProperties":{},"description":"Optional metadata associated with the request.","type":"object"}},"required":["id"],"type":"object"},"TaskNotCancelableError":{"description":"An A2A-specific error indicating that the task is in a state where it cannot be canceled.","properties":{"code":{"const":-32002,"description":"The error code for a task that cannot be canceled.","type":"integer"},"data":{"description":"A primitive or structured value containing additional information about the error.\\nThis may be omitted."},"message":{"default":"Task cannot be canceled","description":"The error message.","type":"string"}},"required":["code","message"],"type":"object"},"TaskNotFoundError":{"description":"An A2A-specific error indicating that the requested task ID was not found.","properties":{"code":{"const":-32001,"description":"The error code for a task not found error.","type":"integer"},"data":{"description":"A primitive or structured value containing additional information about the error.\\nThis may be omitted."},"message":{"default":"Task not found","description":"The error message.","type":"string"}},"required":["code","message"],"type":"object"},"TaskPushNotificationConfig":{"description":"A container associating a push notification configuration with a specific task.","properties":{"pushNotificationConfig":{"$ref":"#/definitions/PushNotificationConfig","description":"The push notification configuration for this task."},"taskId":{"description":"The ID of the task.","type":"string"}},"required":["pushNotificationConfig","taskId"],"type":"object"},"TaskQueryParams":{"description":"Defines parameters for querying a task, with an option to limit history length.","properties":{"historyLength":{"description":"The number of most recent messages from the task\'s history to retrieve.","type":"integer"},"id":{"description":"The unique identifier of the task.","type":"string"},"metadata":{"additionalProperties":{},"description":"Optional metadata associated with the request.","type":"object"}},"required":["id"],"type":"object"},"TaskResubscriptionRequest":{"description":"Represents a JSON-RPC request for the `tasks/resubscribe` method, used to resume a streaming connection.","properties":{"id":{"description":"The identifier for this request.","type":["string","integer"]},"jsonrpc":{"const":"2.0","description":"The version of the JSON-RPC protocol. MUST be exactly \\"2.0\\".","type":"string"},"method":{"const":"tasks/resubscribe","description":"The method name. Must be \'tasks/resubscribe\'.","type":"string"},"params":{"$ref":"#/definitions/TaskIdParams","description":"The parameters identifying the task to resubscribe to."}},"required":["id","jsonrpc","method","params"],"type":"object"},"TaskState":{"description":"Defines the lifecycle states of a Task.","enum":["submitted","working","input-required","completed","canceled","failed","rejected","auth-required","unknown"],"type":"string"},"TaskStatus":{"description":"Represents the status of a task at a specific point in time.","properties":{"message":{"$ref":"#/definitions/Message","description":"An optional, human-readable message providing more details about the current status."},"state":{"$ref":"#/definitions/TaskState","description":"The current state of the task\'s lifecycle."},"timestamp":{"description":"An ISO 8601 datetime string indicating when this status was recorded.","examples":["2023-10-27T10:00:00Z"],"type":"string"}},"required":["state"],"type":"object"},"TaskStatusUpdateEvent":{"description":"An event sent by the agent to notify the client of a change in a task\'s status.\\nThis is typically used in streaming or subscription models.","properties":{"contextId":{"description":"The context ID associated with the task.","type":"string"},"final":{"description":"If true, this is the final event in the stream for this interaction.","type":"boolean"},"kind":{"const":"status-update","description":"The type of this event, used as a discriminator. Always \'status-update\'.","type":"string"},"metadata":{"additionalProperties":{},"description":"Optional metadata for extensions.","type":"object"},"status":{"$ref":"#/definitions/TaskStatus","description":"The new status of the task."},"taskId":{"description":"The ID of the task that was updated.","type":"string"}},"required":["contextId","final","kind","status","taskId"],"type":"object"},"TextPart":{"description":"Represents a text segment within a message or artifact.","properties":{"kind":{"const":"text","description":"The type of this part, used as a discriminator. Always \'text\'.","type":"string"},"metadata":{"additionalProperties":{},"description":"Optional metadata associated with this part.","type":"object"},"text":{"description":"The string content of the text part.","type":"string"}},"required":["kind","text"],"type":"object"},"TransportProtocol":{"description":"Supported A2A transport protocols.","enum":["JSONRPC","GRPC","HTTP+JSON"],"type":"string"},"UnsupportedOperationError":{"description":"An A2A-specific error indicating that the requested operation is not supported by the agent.","properties":{"code":{"const":-32004,"description":"The error code for an unsupported operation.","type":"integer"},"data":{"description":"A primitive or structured value containing additional information about the error.\\nThis may be omitted."},"message":{"default":"This operation is not supported","description":"The error message.","type":"string"}},"required":["code","message"],"type":"object"}}}'))};
|
|
1373
1373
|
p(i$a,"amf.agentcard.internal.plugins.parse.schema.AgentCardSchema$",{pSd:1,RWa:1});var j$a;function k$a(){this.Kea=this.Lea=null;this.yH=0}k$a.prototype=new KNa;k$a.prototype.constructor=k$a;k$a.prototype.YIa=function(){j$a||(j$a=new i$a);return j$a};p(k$a,"amf.agentcard.internal.plugins.parse.schema.AgentCardSchemaLoader$",{qSd:1,SWa:1});var l$a;function m$a(){l$a||(l$a=new k$a);return l$a}function n$a(a){this.itd=a}n$a.prototype=new m;n$a.prototype.constructor=n$a;n$a.prototype.gg=function(){return(0,this.itd)()};
|
|
1374
|
-
p(n$a,"amf.agentmetadata.client.platform.AgentMetadataConfiguration$$Lambda$1",{wSd:1,RG:1});function o$a(){}o$a.prototype=new INa;o$a.prototype.constructor=o$a;o$a.prototype.ZIa=function(){return Il(new ed('\n |{\n | "$schema": "http://json-schema.org/draft-07/schema#",\n | "definitions": {}\n |}\n |
|
|
1375
|
-
q$a.prototype.constructor=q$a;q$a.prototype.YIa=function(){p$a||(p$a=new o$a);return p$a};p(q$a,"amf.agentmetadata.internal.plugins.parse.schema.AgentMetadataSchemaLoader$",{ISd:1,SWa:1});var r$a;function s$a(){r$a||(r$a=new q$a);return r$a}function t$a(a){this.jtd=a}t$a.prototype=new m;t$a.prototype.constructor=t$a;
|
|
1376
|
-
u$a.prototype.constructor=u$a;p(u$a,"amf.agentnetwork.internal.plugins.parse.entry.AgentNetworkSchemaVersion",{ZSd:1,RKd:1});function v$a(){}v$a.prototype=new m;v$a.prototype.constructor=v$a;v$a.prototype.Kmd=function(){return"schemaVersion"};v$a.prototype.Bmd=function(a){return new M(new u$a(a))};
|
|
1377
|
-
x$a.prototype.Msd=function(){w$a||(w$a=new v$a);return w$a};p(x$a,"amf.agentnetwork.internal.plugins.parse.entry.AgentNetworkSchemaVersionEntry$",{aTd:1,PKd:1});var y$a;function z$a(){}z$a.prototype=new INa;z$a.prototype.constructor=z$a;z$a.prototype.ZIa=function(){return Il(new ed('{"$schema":"http://json-schema.org/draft-07/schema#","title":"Agent Network Specification","@context":{"@type":["http://anypoint.com/vocabs/agents#Network"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","required":["schemaVersion"],"properties":{"schemaVersion":{"type":"string","const":"1.0.0","description":"The schema version for this file"},"description":{"type":"string","description":"The description of this network"},"label":{"type":"string","description":"A human readable text for this network."},"tags":{"type":"array","items":{"type":"string"}},"brokers":{"$ref":"#/definitions/Brokers","description":"The list of brokers defined as part of this network."},"connections":{"$ref":"#/definitions/Connections","description":"The list of connections defined as part of this network."},"agents":{"$ref":"#/definitions/Agents","description":"The list of agents defined as part of this network."},"mcpServers":{"$ref":"#/definitions/MCPs","description":"The list of MCP servers defined as part of this network."},"llmProviders":{"$ref":"#/definitions/LLMs","description":"The list of LLM providers defined as part of this network."}},"additionalProperties":false,"definitions":{"Agents":{"@context":{"@type":["http://anypoint.com/vocabs/agents#DeclarationDefinitions","http://anypoint.com/vocabs/agents/reference/kind#agent"]},"type":"object","additionalProperties":false,"description":"The agent elements","patternProperties":{"^[a-zA-Z_][a-zA-Z0-9_.-]*$":{"$ref":"#/definitions/AgentEntity"}}},"Brokers":{"@context":{"@type":["http://anypoint.com/vocabs/agents#DeclarationDefinitions","http://anypoint.com/vocabs/agents/reference/kind#agent"]},"type":"object","additionalProperties":false,"description":"The brokers defined as part of this group","patternProperties":{"^[a-zA-Z_][a-zA-Z0-9_.-]*$":{"$ref":"#/definitions/Broker"}},"propertyNames":{"not":{"enum":["default","defaults","system","local","null"]}}},"LLMs":{"@context":{"@type":["http://anypoint.com/vocabs/agents#DeclarationDefinitions","http://anypoint.com/vocabs/agents/reference/kind#llm"]},"type":"object","additionalProperties":false,"description":"The llms defined.","patternProperties":{"^[a-zA-Z_][a-zA-Z0-9_.-]*$":{"$ref":"#/definitions/LLMEntity"}}},"MCPs":{"@context":{"@type":["http://anypoint.com/vocabs/agents#DeclarationDefinitions","http://anypoint.com/vocabs/agents/reference/kind#mcp"]},"type":"object","additionalProperties":false,"description":"The mcp elements","patternProperties":{"^[a-zA-Z_][a-zA-Z0-9_.-]*$":{"$ref":"#/definitions/MCPServerEntity"}}},"BrokerLLM":{"type":"object","additionalProperties":false,"required":["ref","configuration"],"properties":{"ref":{"description":"The reference to the LLM to be used by the orchestrator","$ref":"#/definitions/LLMRef"},"connection":{"type":"object","additionalProperties":false,"required":["ref"],"properties":{"ref":{"$ref":"#/definitions/ConnectionRef"}}},"configuration":{"type":"object","additionalProperties":false,"required":["model"],"properties":{"model":{"type":"string","description":"The name of the model to use"}}}}},"AgentRef":{"description":"A Reference to an Agent","@context":{"@type":["http://anypoint.com/vocabs/agents#Reference","http://anypoint.com/vocabs/agents/reference/kind#agent"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"MCPRef":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Reference","http://anypoint.com/vocabs/agents/reference/kind#mcp"],"@base":"http://anypoint.com/vocabs/agents#"},"description":"Reference to an MCP Server.","type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"PolicyRef":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Reference","http://anypoint.com/vocabs/agents/reference/kind#policy"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"LLMRef":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Reference","http://anypoint.com/vocabs/agents/reference/kind#llm"],"@base":"http://anypoint.com/vocabs/agents#"},"description":"A reference to an LLM Provider","type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"BrokerSpec":{"type":"object","additionalProperties":false,"required":["llm","instructions","links"],"properties":{"llm":{"$ref":"#/definitions/BrokerLLM"},"instructions":{"type":"array","description":"Set of custom instructions that will inform the orchestration","items":{"type":"string"},"policies":{"type":"array","items":{"$ref":"#/definitions/PolicyBinding"}}},"maxNumberOfLoops":{"type":"integer","description":"The maximum number of steps that a task can take. Useful for keeping orchestrations from running too long and consuming too many tokens","default":25},"maxConsecutiveErrors":{"type":"integer","description":"The maximum number of errors that the orchestrator will attempt to recover from before returning a failed status.","default":3},"taskTimeoutSecs":{"type":"integer","description":"A timeout (in seconds) for how long should each orchestration task ","default":60},"tools":{"type":"array","description":"The tools available to this broker","items":{"type":"object","additionalProperties":false,"required":["mcp"],"properties":{"mcp":{"type":"object","additionalProperties":false,"required":["ref"],"properties":{"ref":{"$ref":"#/definitions/MCPRef","description":"The reference to the MCP server to be available to this broker"},"connection":{"type":"object","additionalProperties":false,"description":"The connection to be used by this mcp","required":["ref"],"properties":{"ref":{"$ref":"#/definitions/ConnectionRef"}}},"allowed":{"type":"array","description":"Filters the list of tools advertised by the MCP server to only those in this list. Mutually exclusive with \'denied\'","items":{"type":"string"}}}}}}},"links":{"description":"Defines the list of agents this agent is connected with","items":{"type":"object","additionalProperties":false,"required":["agent"],"properties":{"agent":{"type":"object","additionalProperties":false,"required":["ref"],"properties":{"ref":{"$ref":"#/definitions/AgentRef"},"connection":{"type":"object","description":"The connection to be used by this agent","additionalProperties":false,"required":["ref"],"properties":{"ref":{"$ref":"#/definitions/ConnectionRef"}}}}}}}},"policies":{"type":"array","items":{"$ref":"#/definitions/PolicyBinding"}}}},"Broker":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Agent","http://anypoint.com/vocabs/agents#Broker"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["card","spec"],"properties":{"card":{"$ref":"#/definitions/AgentCard"},"spec":{"$ref":"#/definitions/BrokerSpec"}}},"BasicAuth":{"@context":{"@type":["http://anypoint.com/vocabs/agents#BasicAuth","http://anypoint.com/vocabs/agents#Authentication"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","title":"Basic Authentication","description":"Properties for Basic Authentication.","additionalProperties":false,"required":["kind","username","password"],"properties":{"kind":{"const":"basic","type":"string"},"username":{"type":"string","description":"The username for authentication."},"password":{"type":"string","description":"The password for authentication."},"headerName":{"type":"string","description":"The name of the header where to set the key. If not specified \'Authorization\' is set by default."}}},"ApiKeyClientCredentialsAuth":{"@context":{"@type":["http://anypoint.com/vocabs/agents#ApiKeyClientCredentialsAuth","http://anypoint.com/vocabs/agents#Authentication"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["kind","clientId","clientSecret"],"properties":{"kind":{"const":"apikey-client-credentials","type":"string"},"clientId":{"type":"object","description":"The client ID.","additionalProperties":false,"required":["value"],"properties":{"value":{"type":"string","description":"The value for the clientId"},"name":{"type":"string","description":"The name for the clientId by default is going to be \'client_id\'"}}},"clientSecret":{"type":"object","description":"The client secret.","additionalProperties":false,"required":["value"],"properties":{"value":{"type":"string","description":"The value for the clientSecret"},"name":{"type":"string","description":"The name for the clientSecret by default is going to be \'client_secret\'"}}}}},"APIKeyAuth":{"@context":{"@type":["http://anypoint.com/vocabs/agents#APIKeyAuth","http://anypoint.com/vocabs/agents#Authentication"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["value"],"properties":{"kind":{"const":"apiKey","type":"string"},"headerName":{"description":"The name of the header to be used. If not specified Authorization is used.","type":"string"},"apiKey":{"type":"string","description":"The value of the apiKey"}}},"OAuth2ClientCredentialsAuth":{"@context":{"@type":["http://anypoint.com/vocabs/agents#OAuth2ClientCredentialsAuth","http://anypoint.com/vocabs/agents#Authentication"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["kind","clientId","clientSecret","token"],"title":"OAuth 2.0 Client Credentials Grant","description":"Properties for the OAuth 2.0 Client Credentials Grant Type.","properties":{"kind":{"const":"oauth2-client-credentials","type":"string"},"clientId":{"type":"string","description":"The client ID."},"clientSecret":{"type":"string","description":"The client secret."},"token":{"type":"object","description":"Configuration on how to fetch the token.","required":["url"],"properties":{"url":{"type":"string","description":"The url of the token provider"},"timeout":{"type":"number","description":"Time in seconds to wait for the service to return the token."},"bodyEncoding":{"type":"string","enum":["form","json"]}}},"scopes":{"type":"array","items":{"type":"string"},"description":"An array of scopes to request."}}},"Authentication":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Authentication"],"@base":"http://anypoint.com/vocabs/agents#"},"anyOf":[{"$ref":"#/definitions/OAuth2ClientCredentialsAuth"},{"$ref":"#/definitions/BasicAuth"},{"$ref":"#/definitions/ApiKeyClientCredentialsAuth"},{"$ref":"#/definitions/APIKeyAuth"}]},"AgentConnection":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Connection","http://anypoint.com/vocabs/agents#AgentConnection"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"description":"Defines an agent that exists outside of this domain","required":["kind","ref","spec"],"properties":{"kind":{"const":"agent","type":"string"},"ref":{"$ref":"#/definitions/AgentRef"},"spec":{"type":"object","additionalProperties":false,"required":["url"],"properties":{"url":{"type":"string"},"authentication":{"$ref":"#/definitions/Authentication"},"policies":{"type":"array","items":{"$ref":"#/definitions/PolicyBinding"}}}}}},"LLMConnection":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Connection","http://anypoint.com/vocabs/agents#LLMConnection"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"description":"Configuration for using Salesforce Einstein as the reasoning LLM","required":["kind","ref","spec"],"properties":{"kind":{"const":"llm","type":"string"},"ref":{"$ref":"#/definitions/LLMRef"},"spec":{"type":"object","additionalProperties":false,"required":["url","configuration"],"properties":{"url":{"type":"string"},"configuration":{"type":"object"},"policies":{"type":"array","items":{"$ref":"#/definitions/PolicyBinding"}}}}}},"MCPServerConnection":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Connection","http://anypoint.com/vocabs/agents#MCPServerConnection"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["spec","ref","kind"],"properties":{"kind":{"const":"mcp","type":"string"},"ref":{"$ref":"#/definitions/MCPRef"},"spec":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri","description":"The base URL for the MCP server"},"authentication":{"$ref":"#/definitions/Authentication","description":"The Authentication to use when connecting to the MCP server"},"policies":{"type":"array","items":{"$ref":"#/definitions/PolicyBinding"}}}}}},"PolicyBinding":{"@context":{"@type":["http://anypoint.com/vocabs/agents#PolicyBinding"]},"description":"The policy to be applied","type":"object","additionalProperties":false,"required":["ref","configuration"],"properties":{"ref":{"$ref":"#/definitions/PolicyRef"},"configuration":{"type":"object"}}},"ConnectionElement":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Connection"],"@base":"http://anypoint.com/vocabs/agents#"},"oneOf":[{"$ref":"#/definitions/LLMConnection"},{"$ref":"#/definitions/AgentConnection"},{"$ref":"#/definitions/MCPServerConnection"}]},"Connections":{"@context":{"@type":["http://anypoint.com/vocabs/agents#DeclarationDefinitions","http://anypoint.com/vocabs/agents/reference/kind#connection"]},"description":"The registry elements","type":"object","additionalProperties":false,"patternProperties":{"^[a-zA-Z_][a-zA-Z0-9_.-]*$":{"$ref":"#/definitions/ConnectionElement"}}},"ConnectionRef":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Reference","http://anypoint.com/vocabs/agents/reference/kind#connection"],"@base":"http://anypoint.com/vocabs/agents#"},"description":"The reference to a connection","type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"}}},"AgentEntity":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Agent"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["metadata"],"properties":{"label":{"type":"string","description":"A label for this agent"},"description":{"type":"string","description":"A description for this agent"},"tags":{"type":"array","items":{"type":"string"}},"card":{"$ref":"#/definitions/AgentCard"},"metadata":{"type":"object","additionalProperties":false,"required":["protocol"],"properties":{"platform":{"type":"string","description":"The name of the platform this agent is running on. i.e Bedrock, AgentForce, etc."},"protocol":{"type":"string","enum":["a2a","other"],"description":"The name of the protocol. For example a2a"},"links":{"description":"Defines the list of agents this agent is connected with","items":{"type":"object","additionalProperties":false,"required":["agent"],"properties":{"agent":{"type":"object","additionalProperties":false,"required":["ref"],"properties":{"ref":{"$ref":"#/definitions/AgentRef"}}}}}},"tools":{"description":"Defines the list of tools this agent is connected with","items":{"type":"object","additionalProperties":false,"required":["mcp"],"properties":{"mcp":{"type":"object","required":["ref"],"additionalProperties":false,"properties":{"ref":{"$ref":"#/definitions/MCPRef"},"allowed":{"type":"array","items":{"type":"string"}}}}}}}}},"additionalProperties":false}},"LLMEntity":{"@context":{"@type":["http://anypoint.com/vocabs/agents#LLM"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["metadata"],"properties":{"label":{"type":"string","description":"A label for this MCP"},"description":{"type":"string","description":"The description of this llm"},"metadata":{"oneOf":[{"$ref":"#/definitions/WellKnownLLM"},{"$ref":"#/definitions/CustomLLM"}]}}},"WellKnownLLM":{"@context":{"@type":["http://anypoint.com/vocabs/agents#LLMMetadata","http://anypoint.com/vocabs/agents#WellKnownLLMMetadata"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["platform"],"properties":{"platform":{"type":"string","enum":["OpenAI","Anthropic","AzureOpenai","GoogleGemini","Einstein"]},"models":{"type":"array","items":{"type":"string"}}}},"CustomLLM":{"@context":{"@type":["http://anypoint.com/vocabs/agents#LLMMetadata","http://anypoint.com/vocabs/agents#CustomLLMMetadata"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["transcoder","platform"],"properties":{"platform":{"type":"string"},"models":{"type":"array","items":{"type":"string"}},"transcoder":{"type":"object","additionalProperties":false,"properties":{"ref":{"$ref":"#/definitions/PolicyRef"}}}}},"MCPServerEntity":{"@context":{"@type":["http://anypoint.com/vocabs/agents#MCPServer"],"@base":"http://anypoint.com/vocabs/agents#"},"description":"The definition of the MCP Server entity","type":"object","additionalProperties":false,"required":["metadata"],"properties":{"label":{"type":"string","description":"A label for this MCP"},"description":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"metadata":{"$ref":"#/definitions/MCPServer"}}},"MCPServer":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Server"]},"type":"object","required":["transport"],"properties":{"protocolVersion":{"type":"string","enum":["2024-11-05","2025-03-26"],"description":"The version of the protocol being used. This is used to determine the structure and capabilities of the data."},"introspectedAt":{"type":"string","description":"Timestamp when the introspection was performed"},"connectionStatus":{"type":"string","description":"Status of the connection to the MCP server","enum":["success","failed","error"]},"transport":{"$ref":"#/definitions/MCPTransport","description":"The transport protocol used for communication. This defines how the data is transmitted between the client and server."},"provider":{"$ref":"#/definitions/MCPProvider","description":"The service provider of the MCP server."},"capabilities":{"type":"object","description":"Boolean flags indicating which capabilities the server supports","required":["tools","resources","prompts","logging"],"properties":{"tools":{"type":"boolean","description":"Whether the server supports tools"},"resources":{"type":"boolean","description":"Whether the server supports resources"},"prompts":{"type":"boolean","description":"Whether the server supports prompts"},"logging":{"type":"boolean","description":"Whether the server supports logging"}},"additionalProperties":false},"logging":{"type":"object","properties":{},"description":"Present if the server supports sending log messages to the client.","additionalProperties":true},"tools":{"type":"array","items":{"$ref":"#/definitions/Tool"},"description":"A list of tools available in the mcp api. Each tool has a name, description, and input schema that defines the expected input format."},"resources":{"type":"array","items":{"$ref":"#/definitions/Resource"},"description":"A list of resources available in the mcp api. Each resource has a URI, name, description, MIME type, and annotations that provide additional metadata."},"prompts":{"type":"array","items":{"$ref":"#/definitions/Prompt"},"description":"A list of prompts available in the mcp api. Each prompt has a name, description, and arguments that define the expected input format for the prompt."},"platform":{"type":"string","description":"The platform the mcp server is running"},"securitySchemes":{"additionalProperties":{"$ref":"#/definitions/SecurityScheme"},"description":"Security scheme details used for authenticating with this agent.","type":"object"},"additionalProperties":false}},"MCPProvider":{"description":"Represents the service provider of an MCP server.","examples":[{"organization":"Google","url":"https://ai.google.dev"}],"properties":{"organization":{"description":"MCP provider\'s organization name.","type":"string"},"url":{"description":"MCP provider\'s URL.","type":"string"}},"required":["organization","url"],"type":"object"},"SseTransport":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Transport","http://anypoint.com/vocabs/mcp#SseTransport"],"@base":"http://anypoint.com/vocabs/mcp#"},"required":["kind","ssePath"],"properties":{"kind":{"type":"string","const":"sse"},"ssePath":{"type":"string","description":"Path to the SSE endpoint"},"messagesPath":{"type":"string","description":"Path to the messages endpoint"}},"additionalProperties":false},"StreamableHttpTransport":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Transport","http://anypoint.com/vocabs/mcp#StreamableHttpTransport"],"@base":"http://anypoint.com/vocabs/agents#"},"required":["kind"],"properties":{"kind":{"type":"string","const":"streamableHttp"},"path":{"type":"string","description":"Path to the mcp endpoint"}},"additionalProperties":false},"MCPTransport":{"type":"object","oneOf":[{"$ref":"#/definitions/SseTransport"},{"$ref":"#/definitions/StreamableHttpTransport"}]},"provider":{"$ref":"#/definitions/MCPProvider","description":"The service provider of the MCP server"},"Tool":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Tool"]},"description":"Definition for a tool the client can call.","properties":{"annotations":{"$ref":"#/definitions/ToolAnnotations","description":"Optional additional tool information."},"description":{"description":"A human-readable description of the tool.\\n\\nThis can be used by clients to improve the LLM\'s understanding of available tools. It can be thought of like a \\"hint\\" to the model.","type":"string"},"inputSchema":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#ToolInputSchema"]},"description":"A JSON Schema object defining the expected parameters for the tool.","properties":{"properties":{"additionalProperties":{"additionalProperties":true,"properties":{},"type":"object"},"type":"object"},"required":{"items":{"type":"string"},"type":"array"},"type":{"const":"object","type":"string"}},"required":["type"],"type":"object"},"name":{"description":"The name of the tool.","type":"string"}},"required":["inputSchema","name"],"type":"object"},"ToolAnnotations":{"description":"Additional properties describing a Tool to clients.\\n\\nNOTE: all properties in ToolAnnotations are **hints**.\\nThey are not guaranteed to provide a faithful description of\\ntool behavior (including descriptive properties like `title`).\\n\\nClients should never make tool use decisions based on ToolAnnotations\\nreceived from untrusted servers.","properties":{"destructiveHint":{"description":"If true, the tool may perform destructive updates to its environment.\\nIf false, the tool performs only additive updates.\\n\\n(This property is meaningful only when `readOnlyHint \x3d\x3d false`)\\n\\nDefault: true","type":"boolean"},"idempotentHint":{"description":"If true, calling the tool repeatedly with the same arguments\\nwill have no additional effect on the its environment.\\n\\n(This property is meaningful only when `readOnlyHint \x3d\x3d false`)\\n\\nDefault: false","type":"boolean"},"openWorldHint":{"description":"If true, this tool may interact with an \\"open world\\" of external\\nentities. If false, the tool\'s domain of interaction is closed.\\nFor example, the world of a web search tool is open, whereas that\\nof a memory tool is not.\\n\\nDefault: true","type":"boolean"},"readOnlyHint":{"description":"If true, the tool does not modify its environment.\\n\\nDefault: false","type":"boolean"},"title":{"description":"A human-readable title for the tool.","type":"string"}},"type":"object"},"Prompt":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Prompt"]},"description":"A prompt or prompt template that the server offers.","properties":{"arguments":{"description":"A list of arguments to use for templating the prompt.","items":{"$ref":"#/definitions/PromptArgument"},"type":"array"},"description":{"description":"An optional description of what this prompt provides","type":"string"},"name":{"description":"The name of the prompt or prompt template.","type":"string"}},"required":["name"],"type":"object"},"PromptArgument":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#PromptArgument"]},"description":"Describes an argument that a prompt can accept.","properties":{"description":{"description":"A human-readable description of the argument.","type":"string"},"name":{"description":"The name of the argument.","type":"string"},"required":{"description":"Whether this argument must be provided.","type":"boolean"}},"required":["name"],"type":"object"},"Resource":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Resource"]},"description":"A known resource that the server is capable of reading.","properties":{"annotations":{"$ref":"#/definitions/Annotations","description":"Optional annotations for the client."},"description":{"description":"A description of what this resource represents.\\n\\nThis can be used by clients to improve the LLM\'s understanding of available resources. It can be thought of like a \\"hint\\" to the model.","type":"string"},"mimeType":{"description":"The MIME type of this resource, if known.","type":"string"},"name":{"description":"A human-readable name for this resource.\\n\\nThis can be used by clients to populate UI elements.","type":"string"},"size":{"description":"The size of the raw resource content, in bytes (i.e., before base64 encoding or any tokenization), if known.\\n\\nThis can be used by Hosts to display file sizes and estimate context window usage.","type":"integer"},"uri":{"description":"The URI of this resource.","format":"uri","type":"string"}},"required":["name","uri"],"type":"object"},"Annotations":{"description":"Optional annotations for the client. The client can use annotations to inform how objects are used or displayed","properties":{"audience":{"description":"Describes who the intended customer of this object or data is.\\n\\nIt can include multiple entries to indicate content useful for multiple audiences (e.g., `[\\"user\\", \\"assistant\\"]`).","items":{"$ref":"#/definitions/Role"},"type":"array"},"priority":{"description":"Describes how important this data is for operating the server.\\n\\nA value of 1 means \\"most important,\\" and indicates that the data is\\neffectively required, while 0 means \\"least important,\\" and indicates that\\nthe data is entirely optional.","maximum":1,"minimum":0,"type":"number"}},"type":"object"},"Role":{"description":"The sender or recipient of messages and data in a conversation.","enum":["assistant","user"],"type":"string"},"AgentCard":{"description":"An AgentCard conveys key information:\\n- Overall details (version, name, description, uses)\\n- Skills: A set of capabilities the agent can perform\\n- Default modalities/content types supported by the agent.\\n- Authentication requirements","properties":{"additionalInterfaces":{"description":"Announcement of additional supported transports. Client can use any of\\nthe supported transports.","items":{"$ref":"#/definitions/AgentInterface"},"type":"array"},"capabilities":{"$ref":"#/definitions/AgentCapabilities","description":"Optional capabilities supported by the agent."},"defaultInputModes":{"description":"The set of interaction modes that the agent supports across all skills. This can be overridden per-skill.\\nSupported media types for input.","items":{"type":"string"},"type":"array"},"defaultOutputModes":{"description":"Supported media types for output.","items":{"type":"string"},"type":"array"},"description":{"description":"A human-readable description of the agent. Used to assist users and\\nother agents in understanding what the agent can do.","examples":["Agent that helps users with recipes and cooking."],"type":"string"},"documentationUrl":{"description":"A URL to documentation for the agent.","type":"string"},"iconUrl":{"description":"A URL to an icon for the agent.","type":"string"},"name":{"description":"Human readable name of the agent.","examples":["Recipe Agent"],"type":"string"},"preferredTransport":{"description":"The transport of the preferred endpoint. If empty, defaults to JSONRPC.","type":"string"},"protocolVersion":{"default":"0.2.5","description":"The version of the A2A protocol this agent supports.","type":"string"},"provider":{"$ref":"#/definitions/AgentProvider","description":"The service provider of the agent"},"security":{"description":"Security requirements for contacting the agent.","items":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},"type":"array"},"securitySchemes":{"additionalProperties":{"$ref":"#/definitions/SecurityScheme"},"description":"Security scheme details used for authenticating with this agent.","type":"object"},"skills":{"description":"Skills are a unit of capability that an agent can perform.","items":{"$ref":"#/definitions/AgentSkill"},"type":"array"},"supportsAuthenticatedExtendedCard":{"description":"true if the agent supports providing an extended agent card when the user is authenticated.\\nDefaults to false if not specified.","type":"boolean"},"url":{"description":"A URL to the address the agent is hosted at. This represents the\\npreferred endpoint as declared by the agent.","type":"string"},"version":{"description":"The version of the agent - format is up to the provider.","examples":["1.0.0"],"type":"string"}},"required":["capabilities","defaultInputModes","defaultOutputModes","description","name","protocolVersion","skills","url","version"],"type":"object"},"AgentInterface":{"description":"AgentInterface provides a declaration of a combination of the\\ntarget url and the supported transport to interact with the agent.","properties":{"transport":{"description":"The transport supported this url. This is an open form string, to be\\neasily extended for many transport protocols. The core ones officially\\nsupported are JSONRPC, GRPC and HTTP+JSON.","type":"string"},"url":{"type":"string"}},"required":["transport","url"],"type":"object"},"AgentCapabilities":{"description":"Defines optional capabilities supported by an agent.","properties":{"extensions":{"description":"extensions supported by this agent.","items":{"$ref":"#/definitions/AgentExtension"},"type":"array"},"pushNotifications":{"description":"true if the agent can notify updates to client.","type":"boolean"},"stateTransitionHistory":{"description":"true if the agent exposes status change history for tasks.","type":"boolean"},"streaming":{"description":"true if the agent supports SSE.","type":"boolean"}},"type":"object"},"AgentExtension":{"description":"A declaration of an extension supported by an Agent.","examples":[{"description":"Google OAuth 2.0 authentication","required":false,"uri":"https://developers.google.com/identity/protocols/oauth2"}],"properties":{"description":{"description":"A description of how this agent uses this extension.","type":"string"},"params":{"additionalProperties":{},"description":"Optional configuration for the extension.","type":"object"},"required":{"description":"Whether the client must follow specific requirements of the extension.","type":"boolean"},"uri":{"description":"The URI of the extension.","type":"string"}},"required":["uri"],"type":"object"},"AgentProvider":{"description":"Represents the service provider of an agent.","examples":[{"organization":"Google","url":"https://ai.google.dev"}],"properties":{"organization":{"description":"Agent provider\'s organization name.","type":"string"},"url":{"description":"Agent provider\'s URL.","type":"string"}},"required":["organization","url"],"type":"object"},"SecurityScheme":{"anyOf":[{"$ref":"#/definitions/APIKeySecurityScheme"},{"$ref":"#/definitions/HTTPAuthSecurityScheme"},{"$ref":"#/definitions/OAuth2SecurityScheme"},{"$ref":"#/definitions/OpenIdConnectSecurityScheme"}],"description":"Mirrors the OpenAPI Security Scheme Object\\n(https://swagger.io/specification/#security-scheme-object)"},"APIKeySecurityScheme":{"description":"API Key security scheme.","properties":{"description":{"description":"Description of this security scheme.","type":"string"},"in":{"description":"The location of the API key. Valid values are \\"query\\", \\"header\\", or \\"cookie\\".","enum":["cookie","header","query"],"type":"string"},"name":{"description":"The name of the header, query or cookie parameter to be used.","type":"string"},"type":{"const":"apiKey","type":"string"}},"required":["in","name","type"],"type":"object"},"HTTPAuthSecurityScheme":{"description":"HTTP Authentication security scheme.","properties":{"bearerFormat":{"description":"A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually\\ngenerated by an authorization server, so this information is primarily for documentation\\npurposes.","type":"string"},"description":{"description":"Description of this security scheme.","type":"string"},"scheme":{"description":"The name of the HTTP Authentication scheme to be used in the Authorization header as defined\\nin RFC7235. The values used SHOULD be registered in the IANA Authentication Scheme registry.\\nThe value is case-insensitive, as defined in RFC7235.","type":"string"},"type":{"const":"http","type":"string"}},"required":["scheme","type"],"type":"object"},"OAuth2SecurityScheme":{"description":"OAuth2.0 security scheme configuration.","properties":{"description":{"description":"Description of this security scheme.","type":"string"},"flows":{"$ref":"#/definitions/OAuthFlows","description":"An object containing configuration information for the flow types supported."},"type":{"const":"oauth2","type":"string"}},"required":["flows","type"],"type":"object"},"OAuthFlows":{"description":"Allows configuration of the supported OAuth Flows","properties":{"authorizationCode":{"$ref":"#/definitions/AuthorizationCodeOAuthFlow","description":"Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0."},"clientCredentials":{"$ref":"#/definitions/ClientCredentialsOAuthFlow","description":"Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0"},"implicit":{"$ref":"#/definitions/ImplicitOAuthFlow","description":"Configuration for the OAuth Implicit flow"},"password":{"$ref":"#/definitions/PasswordOAuthFlow","description":"Configuration for the OAuth Resource Owner Password flow"}},"type":"object"},"AuthorizationCodeOAuthFlow":{"description":"Configuration details for a supported OAuth Flow","properties":{"authorizationUrl":{"description":"The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS","type":"string"},"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope name and a short\\ndescription for it. The map MAY be empty.","type":"object"},"tokenUrl":{"description":"The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard\\nrequires the use of TLS.","type":"string"}},"required":["authorizationUrl","scopes","tokenUrl"],"type":"object"},"ClientCredentialsOAuthFlow":{"description":"Configuration details for a supported OAuth Flow","properties":{"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope name and a short\\ndescription for it. The map MAY be empty.","type":"object"},"tokenUrl":{"description":"The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard\\nrequires the use of TLS.","type":"string"}},"required":["scopes","tokenUrl"],"type":"object"},"ImplicitOAuthFlow":{"description":"Configuration details for a supported OAuth Flow","properties":{"authorizationUrl":{"description":"The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS","type":"string"},"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope name and a short\\ndescription for it. The map MAY be empty.","type":"object"}},"required":["authorizationUrl","scopes"],"type":"object"},"PasswordOAuthFlow":{"description":"Configuration details for a supported OAuth Flow","properties":{"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope name and a short\\ndescription for it. The map MAY be empty.","type":"object"},"tokenUrl":{"description":"The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard\\nrequires the use of TLS.","type":"string"}},"required":["scopes","tokenUrl"],"type":"object"},"OpenIdConnectSecurityScheme":{"description":"OpenID Connect security scheme configuration.","properties":{"description":{"description":"Description of this security scheme.","type":"string"},"openIdConnectUrl":{"description":"Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata.","type":"string"},"type":{"const":"openIdConnect","type":"string"}},"required":["openIdConnectUrl","type"],"type":"object"},"AgentSkill":{"description":"Represents a unit of capability that an agent can perform.","properties":{"description":{"description":"Description of the skill - will be used by the client or a human\\nas a hint to understand what the skill does.","type":"string"},"examples":{"description":"The set of example scenarios that the skill can perform.\\nWill be used by the client as a hint to understand how the skill can be used.","examples":[["I need a recipe for bread"]],"items":{"type":"string"},"type":"array"},"id":{"description":"Unique identifier for the agent\'s skill.","type":"string"},"inputModes":{"description":"The set of interaction modes that the skill supports\\n(if different than the default).\\nSupported media types for input.","items":{"type":"string"},"type":"array"},"name":{"description":"Human readable name of the skill.","type":"string"},"outputModes":{"description":"Supported media types for output.","items":{"type":"string"},"type":"array"},"tags":{"description":"Set of tagwords describing classes of capabilities for this specific skill.","examples":[["cooking","customer support","billing"]],"items":{"type":"string"},"type":"array"}},"required":["description","id","name","tags"],"type":"object"}}}'))};
|
|
1374
|
+
p(n$a,"amf.agentmetadata.client.platform.AgentMetadataConfiguration$$Lambda$1",{wSd:1,RG:1});function o$a(){}o$a.prototype=new INa;o$a.prototype.constructor=o$a;o$a.prototype.ZIa=function(){return Il(new ed('\n |{\n | "$schema": "http://json-schema.org/draft-07/schema#",\n | "title": "Agent Metadata Specification",\n | "@context": {\n | "@type": [\n | "http://anypoint.com/vocabs/agents#AgentMetadata"\n | ],\n | "@base": "http://anypoint.com/vocabs/agents#"\n | },\n | "$ref": "#/definitions/AgentMetadata",\n | "definitions": {\n | "GAV": {\n | "type": "object",\n | "properties": {\n | "groupId": {\n | "type": "string"\n | },\n | "assetId": {\n | "type": "string"\n | },\n | "version": {\n | "type": "string"\n | }\n | }\n | },\n | "AgentMetadata": {\n | "type": "object",\n | "additionalProperties": true,\n | "properties": {\n | "protocol": {\n | "type": "string",\n | "enum": [\n | "a2a",\n | "other"\n | ]\n | },\n | "platform": {\n | "type": "string"\n | },\n | "kind": {\n | "type": "string"\n | },\n | "connections": {\n | "type": "array",\n | "items": {\n | "type": "object",\n | "oneOf": [\n | {\n | "$ref": "#/definitions/AgentLink"\n | },\n | {\n | "$ref": "#/definitions/MCPLink"\n | },\n | {\n | "$ref": "#/definitions/LLMLink"\n | }\n | ]\n | }\n | },\n | "provenance": {\n | "@context": {\n | "@type": [\n | "http://anypoint.com/vocabs/agents#Provenance"\n | ],\n | "@base": "http://anypoint.com/vocabs/agents#"\n | },\n | "type": "object",\n | "required": [\n | "kind"\n | ],\n | "properties": {\n | "kind": {\n | "type": "string"\n | },\n | "metadata": {\n | "type": "object",\n | "additionalProperties": true\n | }\n | },\n | "additionalProperties": false\n | }\n | }\n | },\n | "AgentLink": {\n | "@context": {\n | "@type": [\n | "http://anypoint.com/vocabs/agents/link#Agent"\n | ],\n | "@base": "http://anypoint.com/vocabs/agents/link#"\n | },\n | "type": "object",\n | "additionalProperties": false,\n | "properties": {\n | "kind": {\n | "type": "string",\n | "const": "agent"\n | },\n | "ref": {\n | "$ref": "#/definitions/GAV"\n | }\n | }\n | },\n | "MCPLink": {\n | "@context": {\n | "@type": [\n | "http://anypoint.com/vocabs/agents/link#MCP"\n | ],\n | "@base": "http://anypoint.com/vocabs/agents/link#"\n | },\n | "type": "object",\n | "additionalProperties": false,\n | "properties": {\n | "kind": {\n | "type": "string",\n | "const": "mcp"\n | },\n | "ref": {\n | "$ref": "#/definitions/GAV"\n | },\n | "allowed": {\n | "type": "array",\n | "items": {\n | "type": "string"\n | }\n | }\n | }\n | },\n | "LLMLink": {\n | "@context": {\n | "@type": [\n | "http://anypoint.com/vocabs/agents/link#LLM"\n | ],\n | "@base": "http://anypoint.com/vocabs/agents/link#"\n | },\n | "type": "object",\n | "additionalProperties": false,\n | "properties": {\n | "kind": {\n | "type": "string",\n | "const": "llm"\n | },\n | "ref": {\n | "$ref": "#/definitions/GAV"\n | }\n | }\n | }\n | }\n |}\n |'))};
|
|
1375
|
+
p(o$a,"amf.agentmetadata.internal.plugins.parse.schema.AgentMetadataSchema$",{HSd:1,RWa:1});var p$a;function q$a(){this.Kea=this.Lea=null;this.yH=0}q$a.prototype=new KNa;q$a.prototype.constructor=q$a;q$a.prototype.YIa=function(){p$a||(p$a=new o$a);return p$a};p(q$a,"amf.agentmetadata.internal.plugins.parse.schema.AgentMetadataSchemaLoader$",{ISd:1,SWa:1});var r$a;function s$a(){r$a||(r$a=new q$a);return r$a}function t$a(a){this.jtd=a}t$a.prototype=new m;t$a.prototype.constructor=t$a;
|
|
1376
|
+
t$a.prototype.gg=function(){return(0,this.jtd)()};p(t$a,"amf.agentnetwork.client.platform.AgentNetworkConfiguration$$Lambda$1",{OSd:1,RG:1});function u$a(){}u$a.prototype=new GNa;u$a.prototype.constructor=u$a;p(u$a,"amf.agentnetwork.internal.plugins.parse.entry.AgentNetworkSchemaVersion",{ZSd:1,RKd:1});function v$a(){}v$a.prototype=new m;v$a.prototype.constructor=v$a;v$a.prototype.Kmd=function(){return"schemaVersion"};v$a.prototype.Bmd=function(a){return new M(new u$a(a))};
|
|
1377
|
+
p(v$a,"amf.agentnetwork.internal.plugins.parse.entry.AgentNetworkSchemaVersion$",{$Sd:1,QKd:1});var w$a;function x$a(){}x$a.prototype=new m;x$a.prototype.constructor=x$a;x$a.prototype.Msd=function(){w$a||(w$a=new v$a);return w$a};p(x$a,"amf.agentnetwork.internal.plugins.parse.entry.AgentNetworkSchemaVersionEntry$",{aTd:1,PKd:1});var y$a;function z$a(){}z$a.prototype=new INa;z$a.prototype.constructor=z$a;z$a.prototype.ZIa=function(){return Il(new ed('{"$schema":"http://json-schema.org/draft-07/schema#","title":"Agent Network Specification","@context":{"@type":["http://anypoint.com/vocabs/agents#Network"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","required":["schemaVersion"],"properties":{"schemaVersion":{"type":"string","const":"1.0.0","description":"The schema version for this file"},"description":{"type":"string","description":"The description of this network"},"label":{"type":"string","description":"A human readable text for this network."},"tags":{"type":"array","items":{"type":"string"}},"brokers":{"$ref":"#/definitions/Brokers","description":"The list of brokers defined as part of this network."},"connections":{"$ref":"#/definitions/Connections","description":"The list of connections defined as part of this network."},"agents":{"$ref":"#/definitions/Agents","description":"The list of agents defined as part of this network."},"mcpServers":{"$ref":"#/definitions/MCPs","description":"The list of MCP servers defined as part of this network."},"llmProviders":{"$ref":"#/definitions/LLMs","description":"The list of LLM providers defined as part of this network."}},"additionalProperties":false,"definitions":{"Agents":{"@context":{"@type":["http://anypoint.com/vocabs/agents#DeclarationDefinitions","http://anypoint.com/vocabs/agents/reference/kind#agent"]},"type":"object","additionalProperties":false,"description":"The agent elements","patternProperties":{"^[a-zA-Z_][a-zA-Z0-9_.-]*$":{"$ref":"#/definitions/AgentEntity"}}},"Brokers":{"@context":{"@type":["http://anypoint.com/vocabs/agents#DeclarationDefinitions","http://anypoint.com/vocabs/agents/reference/kind#agent"]},"type":"object","additionalProperties":false,"description":"The brokers defined as part of this group","patternProperties":{"^[a-zA-Z_][a-zA-Z0-9_.-]*$":{"$ref":"#/definitions/Broker"}},"propertyNames":{"not":{"enum":["default","defaults","system","local","null"]}}},"LLMs":{"@context":{"@type":["http://anypoint.com/vocabs/agents#DeclarationDefinitions","http://anypoint.com/vocabs/agents/reference/kind#llm"]},"type":"object","additionalProperties":false,"description":"The llms defined.","patternProperties":{"^[a-zA-Z_][a-zA-Z0-9_.-]*$":{"$ref":"#/definitions/LLMEntity"}}},"MCPs":{"@context":{"@type":["http://anypoint.com/vocabs/agents#DeclarationDefinitions","http://anypoint.com/vocabs/agents/reference/kind#mcp"]},"type":"object","additionalProperties":false,"description":"The mcp elements","patternProperties":{"^[a-zA-Z_][a-zA-Z0-9_.-]*$":{"$ref":"#/definitions/MCPServerEntity"}}},"BrokerLLM":{"type":"object","additionalProperties":false,"required":["ref","configuration"],"properties":{"ref":{"description":"The reference to the LLM to be used by the orchestrator","$ref":"#/definitions/LLMRef"},"connection":{"type":"object","additionalProperties":false,"required":["ref"],"properties":{"ref":{"$ref":"#/definitions/ConnectionRef"}}},"configuration":{"type":"object","additionalProperties":false,"required":["model"],"properties":{"model":{"type":"string","description":"The name of the model to use"}}}}},"BrokerSpec":{"type":"object","additionalProperties":false,"required":["llm","instructions","links"],"properties":{"llm":{"$ref":"#/definitions/BrokerLLM"},"instructions":{"type":"array","description":"Set of custom instructions that will inform the orchestration","items":{"type":"string"}},"maxNumberOfLoops":{"type":"integer","description":"The maximum number of steps that a task can take. Useful for keeping orchestrations from running too long and consuming too many tokens","default":25},"maxConsecutiveErrors":{"type":"integer","description":"The maximum number of errors that the orchestrator will attempt to recover from before returning a failed status.","default":3},"taskTimeoutSecs":{"type":"integer","description":"A timeout (in seconds) for how long should each orchestration task ","default":60},"tools":{"type":"array","description":"The tools available to this broker","items":{"type":"object","additionalProperties":false,"required":["mcp"],"properties":{"mcp":{"type":"object","additionalProperties":false,"required":["ref"],"properties":{"ref":{"$ref":"#/definitions/MCPRef","description":"The reference to the MCP server to be available to this broker"},"connection":{"type":"object","additionalProperties":false,"description":"The connection to be used by this mcp","required":["ref"],"properties":{"ref":{"$ref":"#/definitions/ConnectionRef"}}},"allowed":{"type":"array","description":"Filters the list of tools advertised by the MCP server to only those in this list. Mutually exclusive with \'denied\'","items":{"type":"string"}}}}}}},"links":{"description":"Defines the list of agents this agent is connected with","items":{"type":"object","additionalProperties":false,"required":["agent"],"properties":{"agent":{"type":"object","additionalProperties":false,"required":["ref"],"properties":{"ref":{"$ref":"#/definitions/AgentRef"},"connection":{"type":"object","description":"The connection to be used by this agent","additionalProperties":false,"required":["ref"],"properties":{"ref":{"$ref":"#/definitions/ConnectionRef"}}}}}}}},"policies":{"type":"array","items":{"$ref":"#/definitions/PolicyBinding"}}}},"Broker":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Agent","http://anypoint.com/vocabs/agents#Broker"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["card","spec"],"properties":{"card":{"$ref":"#/definitions/AgentCard"},"spec":{"$ref":"#/definitions/BrokerSpec"}}},"BasicAuth":{"@context":{"@type":["http://anypoint.com/vocabs/agents#BasicAuth","http://anypoint.com/vocabs/agents#Authentication"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","title":"Basic Authentication","description":"Properties for Basic Authentication.","additionalProperties":false,"required":["kind","username","password"],"properties":{"kind":{"const":"basic","type":"string"},"username":{"type":"string","description":"The username for authentication."},"password":{"type":"string","description":"The password for authentication."},"headerName":{"type":"string","description":"The name of the header where to set the key. If not specified \'Authorization\' is set by default."}}},"ApiKeyClientCredentialsAuth":{"@context":{"@type":["http://anypoint.com/vocabs/agents#ApiKeyClientCredentialsAuth","http://anypoint.com/vocabs/agents#Authentication"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["kind","clientId","clientSecret"],"properties":{"kind":{"const":"apikey-client-credentials","type":"string"},"clientId":{"type":"object","description":"The client ID.","additionalProperties":false,"required":["value"],"properties":{"value":{"type":"string","description":"The value for the clientId"},"name":{"type":"string","description":"The name for the clientId by default is going to be \'client_id\'"}}},"clientSecret":{"type":"object","description":"The client secret.","additionalProperties":false,"required":["value"],"properties":{"value":{"type":"string","description":"The value for the clientSecret"},"name":{"type":"string","description":"The name for the clientSecret by default is going to be \'client_secret\'"}}}}},"APIKeyAuth":{"@context":{"@type":["http://anypoint.com/vocabs/agents#APIKeyAuth","http://anypoint.com/vocabs/agents#Authentication"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["value"],"properties":{"kind":{"const":"apiKey","type":"string"},"headerName":{"description":"The name of the header to be used. If not specified Authorization is used.","type":"string"},"apiKey":{"type":"string","description":"The value of the apiKey"}}},"OAuth2ClientCredentialsAuth":{"@context":{"@type":["http://anypoint.com/vocabs/agents#OAuth2ClientCredentialsAuth","http://anypoint.com/vocabs/agents#Authentication"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["kind","clientId","clientSecret","token"],"title":"OAuth 2.0 Client Credentials Grant","description":"Properties for the OAuth 2.0 Client Credentials Grant Type.","properties":{"kind":{"const":"oauth2-client-credentials","type":"string"},"clientId":{"type":"string","description":"The client ID."},"clientSecret":{"type":"string","description":"The client secret."},"token":{"type":"object","description":"Configuration on how to fetch the token.","required":["url"],"properties":{"url":{"type":"string","description":"The url of the token provider"},"timeout":{"type":"number","description":"Time in seconds to wait for the service to return the token."},"bodyEncoding":{"type":"string","enum":["form","json"]}}},"scopes":{"type":"array","items":{"type":"string"},"description":"An array of scopes to request."}}},"Authentication":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Authentication"],"@base":"http://anypoint.com/vocabs/agents#"},"anyOf":[{"$ref":"#/definitions/OAuth2ClientCredentialsAuth"},{"$ref":"#/definitions/BasicAuth"},{"$ref":"#/definitions/ApiKeyClientCredentialsAuth"},{"$ref":"#/definitions/APIKeyAuth"}]},"AgentConnection":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Connection","http://anypoint.com/vocabs/agents#AgentConnection"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"description":"Defines an agent that exists outside of this domain","required":["kind","ref","spec"],"properties":{"kind":{"const":"agent","type":"string"},"ref":{"$ref":"#/definitions/AgentRef"},"spec":{"type":"object","additionalProperties":false,"required":["url"],"properties":{"url":{"type":"string"},"authentication":{"$ref":"#/definitions/Authentication"},"policies":{"type":"array","items":{"$ref":"#/definitions/PolicyBinding"}}}}}},"LLMConnection":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Connection","http://anypoint.com/vocabs/agents#LLMConnection"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"description":"Configuration for using Salesforce Einstein as the reasoning LLM","required":["kind","ref","spec"],"properties":{"kind":{"const":"llm","type":"string"},"ref":{"$ref":"#/definitions/LLMRef"},"spec":{"type":"object","additionalProperties":false,"required":["url","configuration"],"properties":{"url":{"type":"string"},"configuration":{"type":"object"},"policies":{"type":"array","items":{"$ref":"#/definitions/PolicyBinding"}}}}}},"MCPServerConnection":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Connection","http://anypoint.com/vocabs/agents#MCPServerConnection"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["spec","ref","kind"],"properties":{"kind":{"const":"mcp","type":"string"},"ref":{"$ref":"#/definitions/MCPRef"},"spec":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","description":"The base URL for the MCP server"},"authentication":{"$ref":"#/definitions/Authentication","description":"The Authentication to use when connecting to the MCP server"},"policies":{"type":"array","items":{"$ref":"#/definitions/PolicyBinding"}}}}}},"PolicyBinding":{"@context":{"@type":["http://anypoint.com/vocabs/agents#PolicyBinding"]},"description":"The policy to be applied","type":"object","additionalProperties":false,"required":["ref","configuration"],"properties":{"ref":{"$ref":"#/definitions/PolicyRef"},"configuration":{"type":"object"}}},"ConnectionElement":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Connection"],"@base":"http://anypoint.com/vocabs/agents#"},"oneOf":[{"$ref":"#/definitions/LLMConnection"},{"$ref":"#/definitions/AgentConnection"},{"$ref":"#/definitions/MCPServerConnection"}]},"Connections":{"@context":{"@type":["http://anypoint.com/vocabs/agents#DeclarationDefinitions","http://anypoint.com/vocabs/agents/reference/kind#connection"]},"description":"The registry elements","type":"object","additionalProperties":false,"patternProperties":{"^[a-zA-Z_][a-zA-Z0-9_.-]*$":{"$ref":"#/definitions/ConnectionElement"}}},"AgentEntity":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Agent"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["metadata"],"properties":{"label":{"type":"string","description":"A label for this agent"},"description":{"type":"string","description":"A description for this agent"},"tags":{"type":"array","items":{"type":"string"}},"card":{"$ref":"#/definitions/AgentCard"},"metadata":{"type":"object","additionalProperties":false,"required":["protocol"],"properties":{"platform":{"type":"string","description":"The name of the platform this agent is running on. i.e Bedrock, AgentForce, etc."},"protocol":{"type":"string","enum":["a2a","other"],"description":"The name of the protocol. For example a2a"},"links":{"description":"Defines the list of agents this agent is connected with","items":{"type":"object","additionalProperties":false,"required":["agent"],"properties":{"agent":{"type":"object","additionalProperties":false,"required":["ref"],"properties":{"ref":{"$ref":"#/definitions/AgentRef"}}}}}},"tools":{"description":"Defines the list of tools this agent is connected with","items":{"type":"object","additionalProperties":false,"required":["mcp"],"properties":{"mcp":{"type":"object","required":["ref"],"additionalProperties":false,"properties":{"ref":{"$ref":"#/definitions/MCPRef"},"allowed":{"type":"array","items":{"type":"string"}}}}}}}}},"additionalProperties":false}},"LLMMetadata":{"@context":{"@type":["http://anypoint.com/vocabs/agents#LLMMetadata"],"@base":"http://anypoint.com/vocabs/agents#"},"oneOf":[{"$ref":"#/definitions/WellKnownLLM"},{"$ref":"#/definitions/CustomLLM"}]},"WellKnownLLM":{"@context":{"@type":["http://anypoint.com/vocabs/agents#LLMMetadata","http://anypoint.com/vocabs/agents#WellKnownLLMMetadata"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["platform"],"properties":{"platform":{"type":"string","enum":["OpenAI","AzureOpenai"]},"models":{"type":"array","items":{"type":"string"}}}},"CustomLLM":{"@context":{"@type":["http://anypoint.com/vocabs/agents#LLMMetadata","http://anypoint.com/vocabs/agents#CustomLLMMetadata"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["transcoder","platform"],"properties":{"platform":{"type":"string"},"models":{"type":"array","items":{"type":"string"}},"transcoder":{"type":"object","additionalProperties":false,"properties":{"ref":{"$ref":"#/definitions/PolicyRef"}}}}},"LLMEntity":{"@context":{"@type":["http://anypoint.com/vocabs/agents#LLM"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["metadata"],"properties":{"label":{"type":"string","description":"A label for this MCP"},"description":{"type":"string","description":"The description of this llm"},"metadata":{"$ref":"#/definitions/LLMMetadata"}}},"MCPServerEntity":{"@context":{"@type":["http://anypoint.com/vocabs/agents#MCPServer"],"@base":"http://anypoint.com/vocabs/agents#"},"description":"The definition of the MCP Server entity","type":"object","additionalProperties":false,"required":["metadata"],"properties":{"label":{"type":"string","description":"A label for this MCP"},"description":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"metadata":{"$ref":"#/definitions/MCPServer"}}},"ToolAnnotations":{"description":"Additional properties describing a Tool to clients.\\n\\nNOTE: all properties in ToolAnnotations are **hints**.\\nThey are not guaranteed to provide a faithful description of\\ntool behavior (including descriptive properties like `title`).\\n\\nClients should never make tool use decisions based on ToolAnnotations\\nreceived from untrusted servers.","properties":{"destructiveHint":{"description":"If true, the tool may perform destructive updates to its environment.\\nIf false, the tool performs only additive updates.\\n\\n(This property is meaningful only when `readOnlyHint \x3d\x3d false`)\\n\\nDefault: true","type":"boolean"},"idempotentHint":{"description":"If true, calling the tool repeatedly with the same arguments\\nwill have no additional effect on the its environment.\\n\\n(This property is meaningful only when `readOnlyHint \x3d\x3d false`)\\n\\nDefault: false","type":"boolean"},"openWorldHint":{"description":"If true, this tool may interact with an \\"open world\\" of external\\nentities. If false, the tool\'s domain of interaction is closed.\\nFor example, the world of a web search tool is open, whereas that\\nof a memory tool is not.\\n\\nDefault: true","type":"boolean"},"readOnlyHint":{"description":"If true, the tool does not modify its environment.\\n\\nDefault: false","type":"boolean"},"title":{"description":"A human-readable title for the tool.","type":"string"}},"type":"object"},"Prompt":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Prompt"]},"description":"A prompt or prompt template that the server offers.","properties":{"arguments":{"description":"A list of arguments to use for templating the prompt.","items":{"$ref":"#/definitions/PromptArgument"},"type":"array"},"description":{"description":"An optional description of what this prompt provides","type":"string"},"name":{"description":"The name of the prompt or prompt template.","type":"string"}},"required":["name"],"type":"object"},"PromptArgument":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#PromptArgument"]},"description":"Describes an argument that a prompt can accept.","properties":{"description":{"description":"A human-readable description of the argument.","type":"string"},"name":{"description":"The name of the argument.","type":"string"},"required":{"description":"Whether this argument must be provided.","type":"boolean"}},"required":["name"],"type":"object"},"Resource":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Resource"]},"description":"A known resource that the server is capable of reading.","properties":{"annotations":{"$ref":"#/definitions/Annotations","description":"Optional annotations for the client."},"description":{"description":"A description of what this resource represents.\\n\\nThis can be used by clients to improve the LLM\'s understanding of available resources. It can be thought of like a \\"hint\\" to the model.","type":"string"},"mimeType":{"description":"The MIME type of this resource, if known.","type":"string"},"name":{"description":"A human-readable name for this resource.\\n\\nThis can be used by clients to populate UI elements.","type":"string"},"size":{"description":"The size of the raw resource content, in bytes (i.e., before base64 encoding or any tokenization), if known.\\n\\nThis can be used by Hosts to display file sizes and estimate context window usage.","type":"integer"},"uri":{"description":"The URI of this resource.","format":"uri","type":"string"}},"required":["name","uri"],"type":"object"},"Annotations":{"description":"Optional annotations for the client. The client can use annotations to inform how objects are used or displayed","properties":{"audience":{"description":"Describes who the intended customer of this object or data is.\\n\\nIt can include multiple entries to indicate content useful for multiple audiences (e.g., `[\\"user\\", \\"assistant\\"]`).","items":{"$ref":"#/definitions/Role"},"type":"array"},"priority":{"description":"Describes how important this data is for operating the server.\\n\\nA value of 1 means \\"most important,\\" and indicates that the data is\\neffectively required, while 0 means \\"least important,\\" and indicates that\\nthe data is entirely optional.","maximum":1,"minimum":0,"type":"number"}},"type":"object"},"Role":{"description":"The sender or recipient of messages and data in a conversation.","enum":["assistant","user"],"type":"string"},"Tool":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Tool"]},"description":"Definition for a tool the client can call.","properties":{"annotations":{"$ref":"#/definitions/ToolAnnotations","description":"Optional additional tool information."},"description":{"description":"A human-readable description of the tool.\\n\\nThis can be used by clients to improve the LLM\'s understanding of available tools. It can be thought of like a \\"hint\\" to the model.","type":"string"},"inputSchema":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#ToolInputSchema"]},"description":"A JSON Schema object defining the expected parameters for the tool.","properties":{"properties":{"additionalProperties":{"additionalProperties":true,"properties":{},"type":"object"},"type":"object"},"required":{"items":{"type":"string"},"type":"array"},"type":{"const":"object","type":"string"}},"required":["type"],"type":"object"},"name":{"description":"The name of the tool.","type":"string"}},"required":["inputSchema","name"],"type":"object"},"SseTransport":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Transport","http://anypoint.com/vocabs/mcp#SseTransport"],"@base":"http://anypoint.com/vocabs/mcp#"},"required":["kind","ssePath"],"properties":{"kind":{"type":"string","const":"sse"},"ssePath":{"type":"string","description":"Path to the SSE endpoint"},"messagesPath":{"type":"string","description":"Path to the messages endpoint"}},"additionalProperties":false},"StreamableHttpTransport":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Transport","http://anypoint.com/vocabs/mcp#StreamableHttpTransport"],"@base":"http://anypoint.com/vocabs/agents#"},"required":["kind"],"properties":{"kind":{"type":"string","const":"streamableHttp"},"path":{"type":"string","description":"Path to the mcp endpoint"}},"additionalProperties":false},"MCPTransport":{"type":"object","oneOf":[{"$ref":"#/definitions/SseTransport"},{"$ref":"#/definitions/StreamableHttpTransport"}]},"MCPProvider":{"description":"Represents the service provider of an MCP server.","examples":[{"organization":"Google","url":"https://ai.google.dev"}],"properties":{"organization":{"description":"MCP provider\'s organization name.","type":"string"},"url":{"description":"MCP provider\'s URL.","type":"string"}},"required":["organization","url"],"type":"object"},"MCPServer":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Server"]},"type":"object","required":["transport"],"properties":{"protocolVersion":{"type":"string","enum":["2024-11-05","2025-03-26"],"description":"The version of the protocol being used. This is used to determine the structure and capabilities of the data."},"introspectedAt":{"type":"string","description":"Timestamp when the introspection was performed"},"connectionStatus":{"type":"string","description":"Status of the connection to the MCP server","enum":["success","failed","error"]},"transport":{"$ref":"#/definitions/MCPTransport","description":"The transport protocol used for communication. This defines how the data is transmitted between the client and server."},"provider":{"$ref":"#/definitions/MCPProvider","description":"The service provider of the MCP server."},"capabilities":{"type":"object","description":"Boolean flags indicating which capabilities the server supports","required":["tools","resources","prompts","logging"],"properties":{"tools":{"type":"boolean","description":"Whether the server supports tools"},"resources":{"type":"boolean","description":"Whether the server supports resources"},"prompts":{"type":"boolean","description":"Whether the server supports prompts"},"logging":{"type":"boolean","description":"Whether the server supports logging"}},"additionalProperties":false},"logging":{"type":"object","properties":{},"description":"Present if the server supports sending log messages to the client.","additionalProperties":true},"tools":{"type":"array","items":{"$ref":"#/definitions/Tool"},"description":"A list of tools available in the mcp api. Each tool has a name, description, and input schema that defines the expected input format."},"resources":{"type":"array","items":{"$ref":"#/definitions/Resource"},"description":"A list of resources available in the mcp api. Each resource has a URI, name, description, MIME type, and annotations that provide additional metadata."},"prompts":{"type":"array","items":{"$ref":"#/definitions/Prompt"},"description":"A list of prompts available in the mcp api. Each prompt has a name, description, and arguments that define the expected input format for the prompt."},"platform":{"type":"string","description":"The platform the mcp server is running"},"securitySchemes":{"additionalProperties":{"$ref":"#/definitions/SecurityScheme"},"description":"Security scheme details used for authenticating with this agent.","type":"object"},"additionalProperties":false}},"PolicyRef":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Reference","http://anypoint.com/vocabs/agents/reference/kind#policy"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"LLMRef":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Reference","http://anypoint.com/vocabs/agents/reference/kind#llm"],"@base":"http://anypoint.com/vocabs/agents#"},"description":"A reference to an LLM Provider","type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"AgentRef":{"description":"A Reference to an Agent","@context":{"@type":["http://anypoint.com/vocabs/agents#Reference","http://anypoint.com/vocabs/agents/reference/kind#agent"],"@base":"http://anypoint.com/vocabs/agents#"},"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"MCPRef":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Reference","http://anypoint.com/vocabs/agents/reference/kind#mcp"],"@base":"http://anypoint.com/vocabs/agents#"},"description":"Reference to an MCP Server.","type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"ConnectionRef":{"@context":{"@type":["http://anypoint.com/vocabs/agents#Reference","http://anypoint.com/vocabs/agents/reference/kind#connection"],"@base":"http://anypoint.com/vocabs/agents#"},"description":"The reference to a connection","type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"}}},"AgentCardSignature":{"description":"AgentCardSignature represents a JWS signature of an AgentCard.\\nThis follows the JSON format of an RFC 7515 JSON Web Signature (JWS).","properties":{"header":{"additionalProperties":{},"description":"The unprotected JWS header values.","type":"object"},"protected":{"description":"The protected JWS header for the signature. This is a Base64url-encoded\\nJSON object, as per RFC 7515.","type":"string"},"signature":{"description":"The computed signature, Base64url-encoded.","type":"string"}},"required":["protected","signature"],"type":"object"},"AgentProvider":{"description":"Represents the service provider of an agent.","examples":[{"organization":"Google","url":"https://ai.google.dev"}],"properties":{"organization":{"description":"The name of the agent provider\'s organization.","type":"string"},"url":{"description":"A URL for the agent provider\'s website or relevant documentation.","type":"string"}},"required":["organization","url"],"type":"object"},"AgentSkill":{"description":"Represents a distinct capability or function that an agent can perform.","properties":{"description":{"description":"A detailed description of the skill, intended to help clients or users\\nunderstand its purpose and functionality.","type":"string"},"examples":{"description":"Example prompts or scenarios that this skill can handle. Provides a hint to\\nthe client on how to use the skill.","examples":[["I need a recipe for bread"]],"items":{"type":"string"},"type":"array"},"id":{"description":"A unique identifier for the agent\'s skill.","type":"string"},"inputModes":{"description":"The set of supported input MIME types for this skill, overriding the agent\'s defaults.","items":{"type":"string"},"type":"array"},"name":{"description":"A human-readable name for the skill.","type":"string"},"outputModes":{"description":"The set of supported output MIME types for this skill, overriding the agent\'s defaults.","items":{"type":"string"},"type":"array"},"security":{"description":"Security schemes necessary for the agent to leverage this skill.\\nAs in the overall AgentCard.security, this list represents a logical OR of security\\nrequirement objects. Each object is a set of security schemes that must be used together\\n(a logical AND).","examples":[[{"google":["oidc"]}]],"items":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},"type":"array"},"tags":{"description":"A set of keywords describing the skill\'s capabilities.","examples":[["cooking","customer support","billing"]],"items":{"type":"string"},"type":"array"}},"required":["description","id","name","tags"],"type":"object"},"AgentExtension":{"description":"A declaration of a protocol extension supported by an Agent.","examples":[{"description":"Google OAuth 2.0 authentication","required":false,"uri":"https://developers.google.com/identity/protocols/oauth2"}],"properties":{"description":{"description":"A human-readable description of how this agent uses the extension.","type":"string"},"params":{"additionalProperties":{},"description":"Optional, extension-specific configuration parameters.","type":"object"},"required":{"description":"If true, the client must understand and comply with the extension\'s requirements\\nto interact with the agent.","type":"boolean"},"uri":{"description":"The unique URI identifying the extension.","type":"string"}},"required":["uri"],"type":"object"},"AgentCapabilities":{"description":"Defines optional capabilities supported by an agent.","properties":{"extensions":{"description":"A list of protocol extensions supported by the agent.","items":{"$ref":"#/definitions/AgentExtension"},"type":"array"},"pushNotifications":{"description":"Indicates if the agent supports sending push notifications for asynchronous task updates.","type":"boolean"},"stateTransitionHistory":{"description":"Indicates if the agent provides a history of state transitions for a task.","type":"boolean"},"streaming":{"description":"Indicates if the agent supports Server-Sent Events (SSE) for streaming responses.","type":"boolean"}},"type":"object"},"AgentCard":{"description":"The AgentCard is a self-describing manifest for an agent. It provides essential\\nmetadata including the agent\'s identity, capabilities, skills, supported\\ncommunication methods, and security requirements.","properties":{"additionalInterfaces":{"description":"A list of additional supported interfaces (transport and URL combinations).\\nThis allows agents to expose multiple transports, potentially at different URLs.\\n\\nBest practices:\\n- SHOULD include all supported transports for completeness\\n- SHOULD include an entry matching the main \'url\' and \'preferredTransport\'\\n- MAY reuse URLs if multiple transports are available at the same endpoint\\n- MUST accurately declare the transport available at each URL\\n\\nClients can select any interface from this list based on their transport capabilities\\nand preferences. This enables transport negotiation and fallback scenarios.","items":{"$ref":"#/definitions/AgentInterface"},"type":"array"},"capabilities":{"$ref":"#/definitions/AgentCapabilities","description":"A declaration of optional capabilities supported by the agent."},"defaultInputModes":{"description":"Default set of supported input MIME types for all skills, which can be\\noverridden on a per-skill basis.","items":{"type":"string"},"type":"array"},"defaultOutputModes":{"description":"Default set of supported output MIME types for all skills, which can be\\noverridden on a per-skill basis.","items":{"type":"string"},"type":"array"},"description":{"description":"A human-readable description of the agent, assisting users and other agents\\nin understanding its purpose.","examples":["Agent that helps users with recipes and cooking."],"type":"string"},"documentationUrl":{"description":"An optional URL to the agent\'s documentation.","type":"string"},"iconUrl":{"description":"An optional URL to an icon for the agent.","type":"string"},"name":{"description":"A human-readable name for the agent.","examples":["Recipe Agent"],"type":"string"},"preferredTransport":{"default":"JSONRPC","description":"The transport protocol for the preferred endpoint (the main \'url\' field).\\nIf not specified, defaults to \'JSONRPC\'.\\n\\nIMPORTANT: The transport specified here MUST be available at the main \'url\'.\\nThis creates a binding between the main URL and its supported transport protocol.\\nClients should prefer this transport and URL combination when both are supported.","examples":["JSONRPC","GRPC","HTTP+JSON"],"type":"string"},"protocolVersion":{"default":"0.3.0","description":"The version of the A2A protocol this agent supports.","type":"string"},"provider":{"$ref":"#/definitions/AgentProvider","description":"Information about the agent\'s service provider."},"security":{"description":"A list of security requirement objects that apply to all agent interactions. Each object\\nlists security schemes that can be used. Follows the OpenAPI 3.0 Security Requirement Object.\\nThis list can be seen as an OR of ANDs. Each object in the list describes one possible\\nset of security requirements that must be present on a request. This allows specifying,\\nfor example, \\"callers must either use OAuth OR an API Key AND mTLS.\\"","examples":[[{"oauth":["read"]},{"api-key":[],"mtls":[]}]],"items":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},"type":"array"},"securitySchemes":{"additionalProperties":{"$ref":"#/definitions/SecurityScheme"},"description":"A declaration of the security schemes available to authorize requests. The key is the\\nscheme name. Follows the OpenAPI 3.0 Security Scheme Object.","type":"object"},"signatures":{"description":"JSON Web Signatures computed for this AgentCard.","items":{"$ref":"#/definitions/AgentCardSignature"},"type":"array"},"skills":{"description":"The set of skills, or distinct capabilities, that the agent can perform.","items":{"$ref":"#/definitions/AgentSkill"},"type":"array"},"supportsAuthenticatedExtendedCard":{"description":"If true, the agent can provide an extended agent card with additional details\\nto authenticated users. Defaults to false.","type":"boolean"},"url":{"description":"The preferred endpoint URL for interacting with the agent.\\nThis URL MUST support the transport specified by \'preferredTransport\'.","examples":["https://api.example.com/a2a/v1"],"type":"string"},"version":{"description":"The agent\'s own version number. The format is defined by the provider.","examples":["1.0.0"],"type":"string"}},"required":["capabilities","defaultInputModes","defaultOutputModes","description","name","protocolVersion","skills","url","version"],"type":"object"},"AgentInterface":{"description":"Declares a combination of a target URL and a transport protocol for interacting with the agent.\\nThis allows agents to expose the same functionality over multiple transport mechanisms.","properties":{"transport":{"description":"The transport protocol supported at this URL.","examples":["JSONRPC","GRPC","HTTP+JSON"],"type":"string"},"url":{"description":"The URL where this interface is available. Must be a valid absolute HTTPS URL in production.","examples":["https://api.example.com/a2a/v1","https://grpc.example.com/a2a","https://rest.example.com/v1"],"type":"string"}},"required":["transport","url"],"type":"object"},"SecurityScheme":{"anyOf":[{"$ref":"#/definitions/APIKeySecurityScheme"},{"$ref":"#/definitions/HTTPAuthSecurityScheme"},{"$ref":"#/definitions/OAuth2SecurityScheme"},{"$ref":"#/definitions/OpenIdConnectSecurityScheme"},{"$ref":"#/definitions/MutualTLSSecurityScheme"}],"description":"Defines a security scheme that can be used to secure an agent\'s endpoints.\\nThis is a discriminated union type based on the OpenAPI 3.0 Security Scheme Object."},"APIKeySecurityScheme":{"description":"Defines a security scheme using an API key.","properties":{"description":{"description":"An optional description for the security scheme.","type":"string"},"in":{"description":"The location of the API key.","enum":["cookie","header","query"],"type":"string"},"name":{"description":"The name of the header, query, or cookie parameter to be used.","type":"string"},"type":{"const":"apiKey","description":"The type of the security scheme. Must be \'apiKey\'.","type":"string"}},"required":["in","name","type"],"type":"object"},"HTTPAuthSecurityScheme":{"description":"Defines a security scheme using HTTP authentication.","properties":{"bearerFormat":{"description":"A hint to the client to identify how the bearer token is formatted (e.g., \\"JWT\\").\\nThis is primarily for documentation purposes.","type":"string"},"description":{"description":"An optional description for the security scheme.","type":"string"},"scheme":{"description":"The name of the HTTP Authentication scheme to be used in the Authorization header,\\nas defined in RFC7235 (e.g., \\"Bearer\\").\\nThis value should be registered in the IANA Authentication Scheme registry.","type":"string"},"type":{"const":"http","description":"The type of the security scheme. Must be \'http\'.","type":"string"}},"required":["scheme","type"],"type":"object"},"ImplicitOAuthFlow":{"description":"Defines configuration details for the OAuth 2.0 Implicit flow.","properties":{"authorizationUrl":{"description":"The authorization URL to be used for this flow. This MUST be a URL.","type":"string"},"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be a URL.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope\\nname and a short description for it.","type":"object"}},"required":["authorizationUrl","scopes"],"type":"object"},"MutualTLSSecurityScheme":{"description":"Defines a security scheme using mTLS authentication.","properties":{"description":{"description":"An optional description for the security scheme.","type":"string"},"type":{"const":"mutualTLS","description":"The type of the security scheme. Must be \'mutualTLS\'.","type":"string"}},"required":["type"],"type":"object"},"OAuth2SecurityScheme":{"description":"Defines a security scheme using OAuth 2.0.","properties":{"description":{"description":"An optional description for the security scheme.","type":"string"},"flows":{"$ref":"#/definitions/OAuthFlows","description":"An object containing configuration information for the supported OAuth 2.0 flows."},"oauth2MetadataUrl":{"description":"URL to the oauth2 authorization server metadata\\n[RFC8414](https://datatracker.ietf.org/doc/html/rfc8414). TLS is required.","type":"string"},"type":{"const":"oauth2","description":"The type of the security scheme. Must be \'oauth2\'.","type":"string"}},"required":["flows","type"],"type":"object"},"OAuthFlows":{"description":"Defines the configuration for the supported OAuth 2.0 flows.","properties":{"authorizationCode":{"$ref":"#/definitions/AuthorizationCodeOAuthFlow","description":"Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0."},"clientCredentials":{"$ref":"#/definitions/ClientCredentialsOAuthFlow","description":"Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0."},"implicit":{"$ref":"#/definitions/ImplicitOAuthFlow","description":"Configuration for the OAuth Implicit flow."},"password":{"$ref":"#/definitions/PasswordOAuthFlow","description":"Configuration for the OAuth Resource Owner Password flow."}},"type":"object"},"AuthorizationCodeOAuthFlow":{"description":"Defines configuration details for the OAuth 2.0 Authorization Code flow.","properties":{"authorizationUrl":{"description":"The authorization URL to be used for this flow.\\nThis MUST be a URL and use TLS.","type":"string"},"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens.\\nThis MUST be a URL and use TLS.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope\\nname and a short description for it.","type":"object"},"tokenUrl":{"description":"The token URL to be used for this flow.\\nThis MUST be a URL and use TLS.","type":"string"}},"required":["authorizationUrl","scopes","tokenUrl"],"type":"object"},"ClientCredentialsOAuthFlow":{"description":"Defines configuration details for the OAuth 2.0 Client Credentials flow.","properties":{"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be a URL.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope\\nname and a short description for it.","type":"object"},"tokenUrl":{"description":"The token URL to be used for this flow. This MUST be a URL.","type":"string"}},"required":["scopes","tokenUrl"],"type":"object"},"OpenIdConnectSecurityScheme":{"description":"Defines a security scheme using OpenID Connect.","properties":{"description":{"description":"An optional description for the security scheme.","type":"string"},"openIdConnectUrl":{"description":"The OpenID Connect Discovery URL for the OIDC provider\'s metadata.","type":"string"},"type":{"const":"openIdConnect","description":"The type of the security scheme. Must be \'openIdConnect\'.","type":"string"}},"required":["openIdConnectUrl","type"],"type":"object"},"PasswordOAuthFlow":{"description":"Defines configuration details for the OAuth 2.0 Resource Owner Password flow.","properties":{"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be a URL.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope\\nname and a short description for it.","type":"object"},"tokenUrl":{"description":"The token URL to be used for this flow. This MUST be a URL.","type":"string"}},"required":["scopes","tokenUrl"],"type":"object"}}}'))};
|
|
1378
1378
|
p(z$a,"amf.agentnetwork.internal.plugins.parse.schema.AgentNetworkSchema$",{bTd:1,RWa:1});var A$a;function B$a(){this.Kea=this.Lea=null;this.yH=0}B$a.prototype=new KNa;B$a.prototype.constructor=B$a;B$a.prototype.YIa=function(){A$a||(A$a=new z$a);return A$a};p(B$a,"amf.agentnetwork.internal.plugins.parse.schema.AgentNetworkSchemaLoader$",{cTd:1,SWa:1});var C$a;function D$a(){C$a||(C$a=new B$a);return C$a}function E$a(a){this.ktd=a}E$a.prototype=new m;E$a.prototype.constructor=E$a;
|
|
1379
1379
|
E$a.prototype.gg=function(){return(0,this.ktd)()};p(E$a,"amf.aml.client.platform.AMLConfiguration$$Lambda$1",{hTd:1,RG:1});function F$a(a,b){a.CD=b;a.Hq=b;a.Vx=br(b.CF());a.mw=br(b.TH())}function G$a(){this.mw=this.CD=this.Vx=this.Hq=null}G$a.prototype=new dva;G$a.prototype.constructor=G$a;function H$a(){}H$a.prototype=G$a.prototype;
|
|
1380
1380
|
G$a.prototype.parseVocabulary=function(a){var b=rb();a=I$a(this.CD,a);var c=rb();null===rb().M5a&&null===rb().M5a&&(rb().M5a=new J$a(c));c=rb().M5a;return(new Hl(b,a,c,this.mw)).ua()};G$a.prototype.parseDialectInstance=function(a){var b=rb();a=K$a(this.CD,a);var c=rb();null===rb().K5a&&null===rb().K5a&&(rb().K5a=new L$a(c));c=rb().K5a;return(new Hl(b,a,c,this.mw)).ua()};
|
|
@@ -2072,14 +2072,15 @@ function cub(a,b,c){if(b.startsWith("."))var e=K();else e=c.lDa.pa(1),e=b.starts
|
|
|
2072
2072
|
(h=k.r,h instanceof uq))return xd(ue(h,b,Yj(a)),b,Yj(a));h=Yj(a);h=new Fy(new G,h,b,K(),K(),!0);ve(h,b,z(B(),C(new D,[f])).B(e,B().f),new M(a.zl()),"error",c);return h}function kM(a,b,c){a=Yj(a);a=new uq(new G,a);b=hz(iz(),b);F();var e=N(new O,(F(),q()));b=cj(a,Jk().Hd,b,e);c instanceof M&&(c=c.r,mi(b,Jk().Cn,c));return b}function dub(a){return a instanceof Sj?(a=Rj(a,"REPEATED").Mb(),a instanceof M&&a.r instanceof Uj?!0:!1):!1}
|
|
2073
2073
|
function eub(a,b,c,e,f){Tj(a,b,c).D(new u(g=>{if(g instanceof Sj){g=new lM(g,f);g.DQ();e.u(g.EO);fub(g);var h=g.EO,k=Yj(g.n3);k=new zd(new G,k);Cd(h,Fd().hk,k);return g.EO}throw new w(g);}),B().f)}function Mx(a,b){this.rJd=a;this.qJd=b}Mx.prototype=new m;Mx.prototype.constructor=Mx;Mx.prototype.za=function(){return this.qJd};Mx.prototype.di=function(){return z(B(),C(new D,[Hp(new Ip,!0),new kJ])).B((this.rJd?new M(new gJ):K()).I(),B().f).kc(eH(),B().f)};
|
|
2074
2074
|
p(Mx,"amf.grpc.internal.transformation.GrpcEditingPipeline",{vOe:1,gk:1});function vIa(a){this.sJd=a}vIa.prototype=new m;vIa.prototype.constructor=vIa;vIa.prototype.za=function(){return this.sJd};vIa.prototype.di=function(){return z(B(),C(new D,[Hp(new Ip,!1),new kJ])).kc(eH(),B().f)};p(vIa,"amf.grpc.internal.transformation.GrpcTransformationPipeline",{wOe:1,gk:1});function gub(a){this.tJd=a}gub.prototype=new m;gub.prototype.constructor=gub;gub.prototype.gg=function(){return(0,this.tJd)()};
|
|
2075
|
-
p(gub,"amf.llmmetadata.client.platform.LLMMetadataConfiguration$$Lambda$1",{BOe:1,RG:1});function hub(){}hub.prototype=new INa;hub.prototype.constructor=hub;hub.prototype.ZIa=function(){return Il(new ed('\n |{\n | "$schema": "http://json-schema.org/draft-07/schema#",\n | "definitions": {}\n |}\n |
|
|
2076
|
-
jub.prototype.constructor=jub;jub.prototype.YIa=function(){iub||(iub=new hub);return iub};p(jub,"amf.llmmetadata.internal.plugins.parse.schema.LLMMetadataSchemaLoader$",{MOe:1,SWa:1});var kub;function lub(){kub||(kub=new jub);return kub}function mub(a){this.uJd=a}mub.prototype=new m;mub.prototype.constructor=mub;mub.prototype.gg=function(){return(0,this.uJd)()};
|
|
2077
|
-
nub.prototype.constructor=nub;nub.prototype.ZIa=function(){return Il(new ed('{"$schema":"http://json-schema.org/draft-07/schema#","title":"MCP Asset Schema","$ref":"#/definitions/MCPServer","definitions":{"MCPServer":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Server"]},"type":"object","required":["transport"],"properties":{"protocolVersion":{"type":"string","enum":["2024-11-05","2025-03-26"],"description":"The version of the protocol being used. This is used to determine the structure and capabilities of the data."},"introspectedAt":{"type":"string","description":"Timestamp when the introspection was performed"},"connectionStatus":{"type":"string","description":"Status of the connection to the MCP server","enum":["success","failed","error"]},"transport":{"$ref":"#/definitions/MCPTransport","description":"The transport protocol used for communication. This defines how the data is transmitted between the client and server."},"provider":{"$ref":"#/definitions/MCPProvider","description":"The service provider of the MCP server."},"capabilities":{"type":"object","description":"Boolean flags indicating which capabilities the server supports","required":["tools","resources","prompts","logging"],"properties":{"tools":{"type":"boolean","description":"Whether the server supports tools"},"resources":{"type":"boolean","description":"Whether the server supports resources"},"prompts":{"type":"boolean","description":"Whether the server supports prompts"},"logging":{"type":"boolean","description":"Whether the server supports logging"}},"additionalProperties":false},"logging":{"type":"object","properties":{},"description":"Present if the server supports sending log messages to the client.","additionalProperties":true},"tools":{"type":"array","items":{"$ref":"#/definitions/Tool"},"description":"A list of tools available in the mcp api. Each tool has a name, description, and input schema that defines the expected input format."},"resources":{"type":"array","items":{"$ref":"#/definitions/Resource"},"description":"A list of resources available in the mcp api. Each resource has a URI, name, description, MIME type, and annotations that provide additional metadata."},"prompts":{"type":"array","items":{"$ref":"#/definitions/Prompt"},"description":"A list of prompts available in the mcp api. Each prompt has a name, description, and arguments that define the expected input format for the prompt."},"platform":{"type":"string","description":"The platform the mcp server is running"},"securitySchemes":{"additionalProperties":{"$ref":"#/definitions/SecurityScheme"},"description":"Security scheme details used for authenticating with this agent.","type":"object"},"additionalProperties":false}},"MCPProvider":{"description":"Represents the service provider of an MCP server.","examples":[{"organization":"Google","url":"https://ai.google.dev"}],"properties":{"organization":{"description":"MCP provider\'s organization name.","type":"string"},"url":{"description":"MCP provider\'s URL.","type":"string"}},"required":["organization","url"],"type":"object"},"SseTransport":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Transport","http://anypoint.com/vocabs/mcp#SseTransport"],"@base":"http://anypoint.com/vocabs/mcp#"},"required":["kind","ssePath"],"properties":{"kind":{"type":"string","const":"sse"},"ssePath":{"type":"string","description":"Path to the SSE endpoint"},"messagesPath":{"type":"string","description":"Path to the messages endpoint"}},"additionalProperties":false},"StreamableHttpTransport":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Transport","http://anypoint.com/vocabs/mcp#StreamableHttpTransport"],"@base":"http://anypoint.com/vocabs/agents#"},"required":["kind"],"properties":{"kind":{"type":"string","const":"streamableHttp"},"path":{"type":"string","description":"Path to the mcp endpoint"}},"additionalProperties":false},"MCPTransport":{"type":"object","oneOf":[{"$ref":"#/definitions/SseTransport"},{"$ref":"#/definitions/StreamableHttpTransport"}]},"provider":{"$ref":"#/definitions/MCPProvider","description":"The service provider of the MCP server"},"Tool":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Tool"]},"description":"Definition for a tool the client can call.","properties":{"annotations":{"$ref":"#/definitions/ToolAnnotations","description":"Optional additional tool information."},"description":{"description":"A human-readable description of the tool.\\n\\nThis can be used by clients to improve the LLM\'s understanding of available tools. It can be thought of like a \\"hint\\" to the model.","type":"string"},"inputSchema":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#ToolInputSchema"]},"description":"A JSON Schema object defining the expected parameters for the tool.","properties":{"properties":{"additionalProperties":{"additionalProperties":true,"properties":{},"type":"object"},"type":"object"},"required":{"items":{"type":"string"},"type":"array"},"type":{"const":"object","type":"string"}},"required":["type"],"type":"object"},"name":{"description":"The name of the tool.","type":"string"}},"required":["inputSchema","name"],"type":"object"},"ToolAnnotations":{"description":"Additional properties describing a Tool to clients.\\n\\nNOTE: all properties in ToolAnnotations are **hints**.\\nThey are not guaranteed to provide a faithful description of\\ntool behavior (including descriptive properties like `title`).\\n\\nClients should never make tool use decisions based on ToolAnnotations\\nreceived from untrusted servers.","properties":{"destructiveHint":{"description":"If true, the tool may perform destructive updates to its environment.\\nIf false, the tool performs only additive updates.\\n\\n(This property is meaningful only when `readOnlyHint \x3d\x3d false`)\\n\\nDefault: true","type":"boolean"},"idempotentHint":{"description":"If true, calling the tool repeatedly with the same arguments\\nwill have no additional effect on the its environment.\\n\\n(This property is meaningful only when `readOnlyHint \x3d\x3d false`)\\n\\nDefault: false","type":"boolean"},"openWorldHint":{"description":"If true, this tool may interact with an \\"open world\\" of external\\nentities. If false, the tool\'s domain of interaction is closed.\\nFor example, the world of a web search tool is open, whereas that\\nof a memory tool is not.\\n\\nDefault: true","type":"boolean"},"readOnlyHint":{"description":"If true, the tool does not modify its environment.\\n\\nDefault: false","type":"boolean"},"title":{"description":"A human-readable title for the tool.","type":"string"}},"type":"object"},"Prompt":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Prompt"]},"description":"A prompt or prompt template that the server offers.","properties":{"arguments":{"description":"A list of arguments to use for templating the prompt.","items":{"$ref":"#/definitions/PromptArgument"},"type":"array"},"description":{"description":"An optional description of what this prompt provides","type":"string"},"name":{"description":"The name of the prompt or prompt template.","type":"string"}},"required":["name"],"type":"object"},"PromptArgument":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#PromptArgument"]},"description":"Describes an argument that a prompt can accept.","properties":{"description":{"description":"A human-readable description of the argument.","type":"string"},"name":{"description":"The name of the argument.","type":"string"},"required":{"description":"Whether this argument must be provided.","type":"boolean"}},"required":["name"],"type":"object"},"Resource":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Resource"]},"description":"A known resource that the server is capable of reading.","properties":{"annotations":{"$ref":"#/definitions/Annotations","description":"Optional annotations for the client."},"description":{"description":"A description of what this resource represents.\\n\\nThis can be used by clients to improve the LLM\'s understanding of available resources. It can be thought of like a \\"hint\\" to the model.","type":"string"},"mimeType":{"description":"The MIME type of this resource, if known.","type":"string"},"name":{"description":"A human-readable name for this resource.\\n\\nThis can be used by clients to populate UI elements.","type":"string"},"size":{"description":"The size of the raw resource content, in bytes (i.e., before base64 encoding or any tokenization), if known.\\n\\nThis can be used by Hosts to display file sizes and estimate context window usage.","type":"integer"},"uri":{"description":"The URI of this resource.","format":"uri","type":"string"}},"required":["name","uri"],"type":"object"},"Annotations":{"description":"Optional annotations for the client. The client can use annotations to inform how objects are used or displayed","properties":{"audience":{"description":"Describes who the intended customer of this object or data is.\\n\\nIt can include multiple entries to indicate content useful for multiple audiences (e.g., `[\\"user\\", \\"assistant\\"]`).","items":{"$ref":"#/definitions/Role"},"type":"array"},"priority":{"description":"Describes how important this data is for operating the server.\\n\\nA value of 1 means \\"most important,\\" and indicates that the data is\\neffectively required, while 0 means \\"least important,\\" and indicates that\\nthe data is entirely optional.","maximum":1,"minimum":0,"type":"number"}},"type":"object"},"Role":{"description":"The sender or recipient of messages and data in a conversation.","enum":["assistant","user"],"type":"string"},"SecurityScheme":{"anyOf":[{"$ref":"#/definitions/APIKeySecurityScheme"},{"$ref":"#/definitions/HTTPAuthSecurityScheme"},{"$ref":"#/definitions/OAuth2SecurityScheme"},{"$ref":"#/definitions/OpenIdConnectSecurityScheme"}],"description":"Mirrors the OpenAPI Security Scheme Object\\n(https://swagger.io/specification/#security-scheme-object)"},"APIKeySecurityScheme":{"description":"API Key security scheme.","properties":{"description":{"description":"Description of this security scheme.","type":"string"},"in":{"description":"The location of the API key. Valid values are \\"query\\", \\"header\\", or \\"cookie\\".","enum":["cookie","header","query"],"type":"string"},"name":{"description":"The name of the header, query or cookie parameter to be used.","type":"string"},"type":{"const":"apiKey","type":"string"}},"required":["in","name","type"],"type":"object"},"HTTPAuthSecurityScheme":{"description":"HTTP Authentication security scheme.","properties":{"bearerFormat":{"description":"A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually\\ngenerated by an authorization server, so this information is primarily for documentation\\npurposes.","type":"string"},"description":{"description":"Description of this security scheme.","type":"string"},"scheme":{"description":"The name of the HTTP Authentication scheme to be used in the Authorization header as defined\\nin RFC7235. The values used SHOULD be registered in the IANA Authentication Scheme registry.\\nThe value is case-insensitive, as defined in RFC7235.","type":"string"},"type":{"const":"http","type":"string"}},"required":["scheme","type"],"type":"object"},"OAuth2SecurityScheme":{"description":"OAuth2.0 security scheme configuration.","properties":{"description":{"description":"Description of this security scheme.","type":"string"},"flows":{"$ref":"#/definitions/OAuthFlows","description":"An object containing configuration information for the flow types supported."},"type":{"const":"oauth2","type":"string"}},"required":["flows","type"],"type":"object"},"OAuthFlows":{"description":"Allows configuration of the supported OAuth Flows","properties":{"authorizationCode":{"$ref":"#/definitions/AuthorizationCodeOAuthFlow","description":"Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0."},"clientCredentials":{"$ref":"#/definitions/ClientCredentialsOAuthFlow","description":"Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0"},"implicit":{"$ref":"#/definitions/ImplicitOAuthFlow","description":"Configuration for the OAuth Implicit flow"},"password":{"$ref":"#/definitions/PasswordOAuthFlow","description":"Configuration for the OAuth Resource Owner Password flow"}},"type":"object"},"AuthorizationCodeOAuthFlow":{"description":"Configuration details for a supported OAuth Flow","properties":{"authorizationUrl":{"description":"The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS","type":"string"},"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope name and a short\\ndescription for it. The map MAY be empty.","type":"object"},"tokenUrl":{"description":"The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard\\nrequires the use of TLS.","type":"string"}},"required":["authorizationUrl","scopes","tokenUrl"],"type":"object"},"ClientCredentialsOAuthFlow":{"description":"Configuration details for a supported OAuth Flow","properties":{"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope name and a short\\ndescription for it. The map MAY be empty.","type":"object"},"tokenUrl":{"description":"The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard\\nrequires the use of TLS.","type":"string"}},"required":["scopes","tokenUrl"],"type":"object"},"ImplicitOAuthFlow":{"description":"Configuration details for a supported OAuth Flow","properties":{"authorizationUrl":{"description":"The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS","type":"string"},"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope name and a short\\ndescription for it. The map MAY be empty.","type":"object"}},"required":["authorizationUrl","scopes"],"type":"object"},"PasswordOAuthFlow":{"description":"Configuration details for a supported OAuth Flow","properties":{"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope name and a short\\ndescription for it. The map MAY be empty.","type":"object"},"tokenUrl":{"description":"The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard\\nrequires the use of TLS.","type":"string"}},"required":["scopes","tokenUrl"],"type":"object"},"OpenIdConnectSecurityScheme":{"description":"OpenID Connect security scheme configuration.","properties":{"description":{"description":"Description of this security scheme.","type":"string"},"openIdConnectUrl":{"description":"Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata.","type":"string"},"type":{"const":"openIdConnect","type":"string"}},"required":["openIdConnectUrl","type"],"type":"object"}}}'))};
|
|
2075
|
+
p(gub,"amf.llmmetadata.client.platform.LLMMetadataConfiguration$$Lambda$1",{BOe:1,RG:1});function hub(){}hub.prototype=new INa;hub.prototype.constructor=hub;hub.prototype.ZIa=function(){return Il(new ed('\n |{\n | "$schema": "http://json-schema.org/draft-07/schema#",\n | "title": "LLM Asset Schema",\n | "$ref": "#/definitions/LLMMetadata",\n | "definitions": {\n | "LLMMetadata": {\n | "@context": {\n | "@type": [\n | "http://anypoint.com/vocabs/agents#LLMMetadata"\n | ],\n | "@base": "http://anypoint.com/vocabs/agents#"\n | },\n | "oneOf": [\n | {\n | "$ref": "#/definitions/WellKnownLLM"\n | },\n | {\n | "$ref": "#/definitions/CustomLLM"\n | }\n | ]\n | },\n | "WellKnownLLM": {\n | "@context": {\n | "@type": [\n | "http://anypoint.com/vocabs/agents#LLMMetadata",\n | "http://anypoint.com/vocabs/agents#WellKnownLLMMetadata"\n | ],\n | "@base": "http://anypoint.com/vocabs/agents#"\n | },\n | "type": "object",\n | "additionalProperties": false,\n | "required": [\n | "platform"\n | ],\n | "properties": {\n | "platform": {\n | "type": "string",\n | "enum": [\n | "OpenAI",\n | "AzureOpenai"\n | ]\n | },\n | "models": {\n | "type": "array",\n | "items": {\n | "type": "string"\n | }\n | }\n | }\n | },\n | "CustomLLM": {\n | "@context": {\n | "@type": [\n | "http://anypoint.com/vocabs/agents#LLMMetadata",\n | "http://anypoint.com/vocabs/agents#CustomLLMMetadata"\n | ],\n | "@base": "http://anypoint.com/vocabs/agents#"\n | },\n | "type": "object",\n | "additionalProperties": false,\n | "required": [\n | "transcoder",\n | "platform"\n | ],\n | "properties": {\n | "platform": {\n | "type": "string"\n | },\n | "models": {\n | "type": "array",\n | "items": {\n | "type": "string"\n | }\n | },\n | "transcoder": {\n | "type": "object",\n | "additionalProperties": false,\n | "properties": {\n | "ref": {\n | "$ref": "#/definitions/PolicyRef"\n | }\n | }\n | }\n | }\n | },\n | "PolicyRef": {\n | "@context": {\n | "@type": [\n | "http://anypoint.com/vocabs/agents#Reference",\n | "http://anypoint.com/vocabs/agents/reference/kind#policy"\n | ],\n | "@base": "http://anypoint.com/vocabs/agents#"\n | },\n | "type": "object",\n | "additionalProperties": false,\n | "required": [\n | "name"\n | ],\n | "properties": {\n | "name": {\n | "type": "string"\n | },\n | "namespace": {\n | "type": "string"\n | }\n | }\n | }\n | }\n |}\n |'))};
|
|
2076
|
+
p(hub,"amf.llmmetadata.internal.plugins.parse.schema.LLMMetadataSchema$",{LOe:1,RWa:1});var iub;function jub(){this.Kea=this.Lea=null;this.yH=0}jub.prototype=new KNa;jub.prototype.constructor=jub;jub.prototype.YIa=function(){iub||(iub=new hub);return iub};p(jub,"amf.llmmetadata.internal.plugins.parse.schema.LLMMetadataSchemaLoader$",{MOe:1,SWa:1});var kub;function lub(){kub||(kub=new jub);return kub}function mub(a){this.uJd=a}mub.prototype=new m;mub.prototype.constructor=mub;mub.prototype.gg=function(){return(0,this.uJd)()};
|
|
2077
|
+
p(mub,"amf.mcp.client.platform.MCPConfiguration$$Lambda$1",{TOe:1,RG:1});function nub(){}nub.prototype=new INa;nub.prototype.constructor=nub;nub.prototype.ZIa=function(){return Il(new ed('{"$schema":"http://json-schema.org/draft-07/schema#","title":"MCP Asset Schema","$ref":"#/definitions/MCPServer","definitions":{"MCPServer":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Server"]},"type":"object","required":["transport"],"properties":{"protocolVersion":{"type":"string","enum":["2024-11-05","2025-03-26"],"description":"The version of the protocol being used. This is used to determine the structure and capabilities of the data."},"introspectedAt":{"type":"string","description":"Timestamp when the introspection was performed"},"connectionStatus":{"type":"string","description":"Status of the connection to the MCP server","enum":["success","failed","error"]},"transport":{"$ref":"#/definitions/MCPTransport","description":"The transport protocol used for communication. This defines how the data is transmitted between the client and server."},"provider":{"$ref":"#/definitions/MCPProvider","description":"The service provider of the MCP server."},"capabilities":{"type":"object","description":"Boolean flags indicating which capabilities the server supports","required":["tools","resources","prompts","logging"],"properties":{"tools":{"type":"boolean","description":"Whether the server supports tools"},"resources":{"type":"boolean","description":"Whether the server supports resources"},"prompts":{"type":"boolean","description":"Whether the server supports prompts"},"logging":{"type":"boolean","description":"Whether the server supports logging"}},"additionalProperties":false},"logging":{"type":"object","properties":{},"description":"Present if the server supports sending log messages to the client.","additionalProperties":true},"tools":{"type":"array","items":{"$ref":"#/definitions/Tool"},"description":"A list of tools available in the mcp api. Each tool has a name, description, and input schema that defines the expected input format."},"resources":{"type":"array","items":{"$ref":"#/definitions/Resource"},"description":"A list of resources available in the mcp api. Each resource has a URI, name, description, MIME type, and annotations that provide additional metadata."},"prompts":{"type":"array","items":{"$ref":"#/definitions/Prompt"},"description":"A list of prompts available in the mcp api. Each prompt has a name, description, and arguments that define the expected input format for the prompt."},"platform":{"type":"string","description":"The platform the mcp server is running"},"securitySchemes":{"additionalProperties":{"$ref":"#/definitions/SecurityScheme"},"description":"Security scheme details used for authenticating with this agent.","type":"object"},"additionalProperties":false}},"MCPProvider":{"description":"Represents the service provider of an MCP server.","examples":[{"organization":"Google","url":"https://ai.google.dev"}],"properties":{"organization":{"description":"MCP provider\'s organization name.","type":"string"},"url":{"description":"MCP provider\'s URL.","type":"string"}},"required":["organization","url"],"type":"object"},"SseTransport":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Transport","http://anypoint.com/vocabs/mcp#SseTransport"],"@base":"http://anypoint.com/vocabs/mcp#"},"required":["kind","ssePath"],"properties":{"kind":{"type":"string","const":"sse"},"ssePath":{"type":"string","description":"Path to the SSE endpoint"},"messagesPath":{"type":"string","description":"Path to the messages endpoint"}},"additionalProperties":false},"StreamableHttpTransport":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Transport","http://anypoint.com/vocabs/mcp#StreamableHttpTransport"],"@base":"http://anypoint.com/vocabs/agents#"},"required":["kind"],"properties":{"kind":{"type":"string","const":"streamableHttp"},"path":{"type":"string","description":"Path to the mcp endpoint"}},"additionalProperties":false},"MCPTransport":{"type":"object","oneOf":[{"$ref":"#/definitions/SseTransport"},{"$ref":"#/definitions/StreamableHttpTransport"}]},"provider":{"$ref":"#/definitions/MCPProvider","description":"The service provider of the MCP server"},"Tool":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Tool"]},"description":"Definition for a tool the client can call.","properties":{"annotations":{"$ref":"#/definitions/ToolAnnotations","description":"Optional additional tool information."},"description":{"description":"A human-readable description of the tool.\\n\\nThis can be used by clients to improve the LLM\'s understanding of available tools. It can be thought of like a \\"hint\\" to the model.","type":"string"},"inputSchema":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#ToolInputSchema"]},"description":"A JSON Schema object defining the expected parameters for the tool.","properties":{"properties":{"additionalProperties":{"additionalProperties":true,"properties":{},"type":"object"},"type":"object"},"required":{"items":{"type":"string"},"type":"array"},"type":{"const":"object","type":"string"}},"required":["type"],"type":"object"},"name":{"description":"The name of the tool.","type":"string"}},"required":["inputSchema","name"],"type":"object"},"ToolAnnotations":{"description":"Additional properties describing a Tool to clients.\\n\\nNOTE: all properties in ToolAnnotations are **hints**.\\nThey are not guaranteed to provide a faithful description of\\ntool behavior (including descriptive properties like `title`).\\n\\nClients should never make tool use decisions based on ToolAnnotations\\nreceived from untrusted servers.","properties":{"destructiveHint":{"description":"If true, the tool may perform destructive updates to its environment.\\nIf false, the tool performs only additive updates.\\n\\n(This property is meaningful only when `readOnlyHint \x3d\x3d false`)\\n\\nDefault: true","type":"boolean"},"idempotentHint":{"description":"If true, calling the tool repeatedly with the same arguments\\nwill have no additional effect on the its environment.\\n\\n(This property is meaningful only when `readOnlyHint \x3d\x3d false`)\\n\\nDefault: false","type":"boolean"},"openWorldHint":{"description":"If true, this tool may interact with an \\"open world\\" of external\\nentities. If false, the tool\'s domain of interaction is closed.\\nFor example, the world of a web search tool is open, whereas that\\nof a memory tool is not.\\n\\nDefault: true","type":"boolean"},"readOnlyHint":{"description":"If true, the tool does not modify its environment.\\n\\nDefault: false","type":"boolean"},"title":{"description":"A human-readable title for the tool.","type":"string"}},"type":"object"},"Prompt":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Prompt"]},"description":"A prompt or prompt template that the server offers.","properties":{"arguments":{"description":"A list of arguments to use for templating the prompt.","items":{"$ref":"#/definitions/PromptArgument"},"type":"array"},"description":{"description":"An optional description of what this prompt provides","type":"string"},"name":{"description":"The name of the prompt or prompt template.","type":"string"}},"required":["name"],"type":"object"},"PromptArgument":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#PromptArgument"]},"description":"Describes an argument that a prompt can accept.","properties":{"description":{"description":"A human-readable description of the argument.","type":"string"},"name":{"description":"The name of the argument.","type":"string"},"required":{"description":"Whether this argument must be provided.","type":"boolean"}},"required":["name"],"type":"object"},"Resource":{"@context":{"@type":["http://anypoint.com/vocabs/mcp#Resource"]},"description":"A known resource that the server is capable of reading.","properties":{"annotations":{"$ref":"#/definitions/Annotations","description":"Optional annotations for the client."},"description":{"description":"A description of what this resource represents.\\n\\nThis can be used by clients to improve the LLM\'s understanding of available resources. It can be thought of like a \\"hint\\" to the model.","type":"string"},"mimeType":{"description":"The MIME type of this resource, if known.","type":"string"},"name":{"description":"A human-readable name for this resource.\\n\\nThis can be used by clients to populate UI elements.","type":"string"},"size":{"description":"The size of the raw resource content, in bytes (i.e., before base64 encoding or any tokenization), if known.\\n\\nThis can be used by Hosts to display file sizes and estimate context window usage.","type":"integer"},"uri":{"description":"The URI of this resource.","format":"uri","type":"string"}},"required":["name","uri"],"type":"object"},"Annotations":{"description":"Optional annotations for the client. The client can use annotations to inform how objects are used or displayed","properties":{"audience":{"description":"Describes who the intended customer of this object or data is.\\n\\nIt can include multiple entries to indicate content useful for multiple audiences (e.g., `[\\"user\\", \\"assistant\\"]`).","items":{"$ref":"#/definitions/Role"},"type":"array"},"priority":{"description":"Describes how important this data is for operating the server.\\n\\nA value of 1 means \\"most important,\\" and indicates that the data is\\neffectively required, while 0 means \\"least important,\\" and indicates that\\nthe data is entirely optional.","maximum":1,"minimum":0,"type":"number"}},"type":"object"},"Role":{"description":"The sender or recipient of messages and data in a conversation.","enum":["assistant","user"],"type":"string"},"SecurityScheme":{"anyOf":[{"$ref":"#/definitions/APIKeySecurityScheme"},{"$ref":"#/definitions/HTTPAuthSecurityScheme"},{"$ref":"#/definitions/OAuth2SecurityScheme"},{"$ref":"#/definitions/OpenIdConnectSecurityScheme"}],"description":"Mirrors the OpenAPI Security Scheme Object\\n(https://swagger.io/specification/#security-scheme-object)"},"APIKeySecurityScheme":{"description":"API Key security scheme.","properties":{"description":{"description":"Description of this security scheme.","type":"string"},"in":{"description":"The location of the API key. Valid values are \\"query\\", \\"header\\", or \\"cookie\\".","enum":["cookie","header","query"],"type":"string"},"name":{"description":"The name of the header, query or cookie parameter to be used.","type":"string"},"type":{"const":"apiKey","type":"string"}},"required":["in","name","type"],"type":"object"},"HTTPAuthSecurityScheme":{"description":"HTTP Authentication security scheme.","properties":{"bearerFormat":{"description":"A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually\\ngenerated by an authorization server, so this information is primarily for documentation\\npurposes.","type":"string"},"description":{"description":"Description of this security scheme.","type":"string"},"scheme":{"description":"The name of the HTTP Authentication scheme to be used in the Authorization header as defined\\nin RFC7235. The values used SHOULD be registered in the IANA Authentication Scheme registry.\\nThe value is case-insensitive, as defined in RFC7235.","type":"string"},"type":{"const":"http","type":"string"}},"required":["scheme","type"],"type":"object"},"OAuth2SecurityScheme":{"description":"OAuth2.0 security scheme configuration.","properties":{"description":{"description":"Description of this security scheme.","type":"string"},"flows":{"$ref":"#/definitions/OAuthFlows","description":"An object containing configuration information for the flow types supported."},"type":{"const":"oauth2","type":"string"}},"required":["flows","type"],"type":"object"},"OAuthFlows":{"description":"Allows configuration of the supported OAuth Flows","properties":{"authorizationCode":{"$ref":"#/definitions/AuthorizationCodeOAuthFlow","description":"Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0."},"clientCredentials":{"$ref":"#/definitions/ClientCredentialsOAuthFlow","description":"Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0"},"implicit":{"$ref":"#/definitions/ImplicitOAuthFlow","description":"Configuration for the OAuth Implicit flow"},"password":{"$ref":"#/definitions/PasswordOAuthFlow","description":"Configuration for the OAuth Resource Owner Password flow"}},"type":"object"},"AuthorizationCodeOAuthFlow":{"description":"Configuration details for a supported OAuth Flow","properties":{"authorizationUrl":{"description":"The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS","type":"string"},"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope name and a short\\ndescription for it. The map MAY be empty.","type":"object"},"tokenUrl":{"description":"The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard\\nrequires the use of TLS.","type":"string"}},"required":["authorizationUrl","scopes","tokenUrl"],"type":"object"},"ClientCredentialsOAuthFlow":{"description":"Configuration details for a supported OAuth Flow","properties":{"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope name and a short\\ndescription for it. The map MAY be empty.","type":"object"},"tokenUrl":{"description":"The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard\\nrequires the use of TLS.","type":"string"}},"required":["scopes","tokenUrl"],"type":"object"},"ImplicitOAuthFlow":{"description":"Configuration details for a supported OAuth Flow","properties":{"authorizationUrl":{"description":"The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS","type":"string"},"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope name and a short\\ndescription for it. The map MAY be empty.","type":"object"}},"required":["authorizationUrl","scopes"],"type":"object"},"PasswordOAuthFlow":{"description":"Configuration details for a supported OAuth Flow","properties":{"refreshUrl":{"description":"The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS.","type":"string"},"scopes":{"additionalProperties":{"type":"string"},"description":"The available scopes for the OAuth2 security scheme. A map between the scope name and a short\\ndescription for it. The map MAY be empty.","type":"object"},"tokenUrl":{"description":"The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard\\nrequires the use of TLS.","type":"string"}},"required":["scopes","tokenUrl"],"type":"object"},"OpenIdConnectSecurityScheme":{"description":"OpenID Connect security scheme configuration.","properties":{"description":{"description":"Description of this security scheme.","type":"string"},"openIdConnectUrl":{"description":"Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata.","type":"string"},"type":{"const":"openIdConnect","type":"string"}},"required":["openIdConnectUrl","type"],"type":"object"}}}'))};
|
|
2078
2078
|
p(nub,"amf.mcp.internal.plugins.parse.schema.MCPSchema$",{cPe:1,RWa:1});var oub;function pub(){this.Kea=this.Lea=null;this.yH=0}pub.prototype=new KNa;pub.prototype.constructor=pub;pub.prototype.YIa=function(){oub||(oub=new nub);return oub};p(pub,"amf.mcp.internal.plugins.parse.schema.MCPSchemaLoader$",{dPe:1,SWa:1});var qub;function rub(){qub||(qub=new pub);return qub}function sub(a){this.vJd=a}sub.prototype=new m;sub.prototype.constructor=sub;sub.prototype.gg=function(){return(0,this.vJd)()};
|
|
2079
|
-
p(sub,"amf.othercard.client.platform.OtherCardConfiguration$$Lambda$1",{kPe:1,RG:1});function tub(){}tub.prototype=new INa;tub.prototype.constructor=tub;tub.prototype.ZIa=function(){return Il(new ed('\n |{\n | "$schema": "http://json-schema.org/draft-07/schema#",\n | "definitions": {}\n |}\n |'))};p(tub,"amf.othercard.internal.plugins.parse.schema.OtherCardSchema$",{uPe:1,RWa:1});var uub;function vub(){this.Kea=this.Lea=null;this.yH=0}vub.prototype=new KNa;
|
|
2080
|
-
vub.prototype.constructor=vub;vub.prototype.YIa=function(){uub||(uub=new tub);return uub};p(vub,"amf.othercard.internal.plugins.parse.schema.OtherCardSchemaLoader$",{vPe:1,SWa:1});var wub;function xub(){wub||(wub=new vub);return wub}function yub(a){this.wJd=a}yub.prototype=new m;yub.prototype.constructor=yub;yub.prototype.gg=function(){return(0,this.wJd)()};
|
|
2081
|
-
|
|
2082
|
-
p(Bub,"amf.shapes.client.platform.config.SemanticJsonSchemaConfiguration$$Lambda$1",{PPe:1,RG:1});function Cub(a){V();a=a.jHa().z();V().gV();return HK(new IK,a)}function Dub(a){return!!(a&&a.$classData&&a.$classData.ed.$tb)}function Eub(){}Eub.prototype=new m;
|
|
2079
|
+
p(sub,"amf.othercard.client.platform.OtherCardConfiguration$$Lambda$1",{kPe:1,RG:1});function tub(){}tub.prototype=new INa;tub.prototype.constructor=tub;tub.prototype.ZIa=function(){return Il(new ed('\n |{\n | "$schema": "http://json-schema.org/draft-07/schema#",\n | "title": "The schema for a generic agent card",\n | "$ref": "#/definitions/OtherCard",\n | "definitions": {\n | "OtherCard": {\n | "@context": {\n | "@type": [\n | "http://anypoint.com/vocabs/agents#OtherCard"\n | ],\n | "@base": "http://anypoint.com/vocabs/agents#"\n | },\n | "description": "An AgentCard conveys key information:\\n- Overall details (version, name, description, uses)\\n- Skills: A set of capabilities the agent can perform\\n- Default modalities/content types supported by the agent.\\n- Authentication requirements",\n | "properties": {\n | "defaultInputModes": {\n | "description": "The set of interaction modes that the agent supports across all skills. This can be overridden per-skill.\\nSupported media types for input.",\n | "items": {\n | "type": "string"\n | },\n | "type": "array"\n | },\n | "defaultOutputModes": {\n | "description": "Supported media types for output.",\n | "items": {\n | "type": "string"\n | },\n | "type": "array"\n | },\n | "description": {\n | "description": "A human-readable description of the agent. Used to assist users and\\nother agents in understanding what the agent can do.",\n | "examples": [\n | "Agent that helps users with recipes and cooking."\n | ],\n | "type": "string"\n | },\n | "documentationUrl": {\n | "description": "A URL to documentation for the agent.",\n | "type": "string"\n | },\n | "iconUrl": {\n | "description": "A URL to an icon for the agent.",\n | "type": "string"\n | },\n | "name": {\n | "description": "Human readable name of the agent.",\n | "examples": [\n | "Recipe Agent"\n | ],\n | "type": "string"\n | },\n | "provider": {\n | "$ref": "#/definitions/AgentProvider",\n | "description": "The service provider of the agent"\n | },\n | "security": {\n | "description": "Security requirements for contacting the agent.",\n | "items": {\n | "additionalProperties": {\n | "items": {\n | "type": "string"\n | },\n | "type": "array"\n | },\n | "type": "object"\n | },\n | "type": "array"\n | },\n | "securitySchemes": {\n | "additionalProperties": {\n | "$ref": "#/definitions/SecurityScheme"\n | },\n | "description": "Security scheme details used for authenticating with this agent.",\n | "type": "object"\n | },\n | "skills": {\n | "description": "Skills are a unit of capability that an agent can perform.",\n | "items": {\n | "$ref": "#/definitions/Skill"\n | },\n | "type": "array"\n | },\n | "url": {\n | "description": "A URL to the address the agent is hosted at. This represents the\\npreferred endpoint as declared by the agent.",\n | "type": "string"\n | },\n | "version": {\n | "description": "The version of the agent - format is up to the provider.",\n | "examples": [\n | "1.0.0"\n | ],\n | "type": "string"\n | }\n | },\n | "type": "object"\n | },\n | "Skill": {\n | "description": "Represents a unit of capability that an agent can perform.",\n | "properties": {\n | "description": {\n | "description": "Description of the skill - will be used by the client or a human\\nas a hint to understand what the skill does.",\n | "type": "string"\n | },\n | "examples": {\n | "description": "The set of example scenarios that the skill can perform.\\nWill be used by the client as a hint to understand how the skill can be used.",\n | "examples": [\n | [\n | "I need a recipe for bread"\n | ]\n | ],\n | "items": {\n | "type": "string"\n | },\n | "type": "array"\n | },\n | "id": {\n | "description": "Unique identifier for the agent\'s skill.",\n | "type": "string"\n | },\n | "inputModes": {\n | "description": "The set of interaction modes that the skill supports\\n(if different than the default).\\nSupported media types for input.",\n | "items": {\n | "type": "string"\n | },\n | "type": "array"\n | },\n | "name": {\n | "description": "Human readable name of the skill.",\n | "type": "string"\n | },\n | "outputModes": {\n | "description": "Supported media types for output.",\n | "items": {\n | "type": "string"\n | },\n | "type": "array"\n | },\n | "tags": {\n | "description": "Set of tagwords describing classes of capabilities for this specific skill.",\n | "examples": [\n | [\n | "cooking",\n | "customer support",\n | "billing"\n | ]\n | ],\n | "items": {\n | "type": "string"\n | },\n | "type": "array"\n | }\n | },\n | "type": "object"\n | },\n | "AgentProvider": {\n | "description": "Represents the service provider of an agent.",\n | "examples": [\n | {\n | "organization": "Google",\n | "url": "https://ai.google.dev"\n | }\n | ],\n | "properties": {\n | "organization": {\n | "description": "Agent provider\'s organization name.",\n | "type": "string"\n | },\n | "url": {\n | "description": "Agent provider\'s URL.",\n | "type": "string"\n | }\n | },\n | "required": [\n | "organization",\n | "url"\n | ],\n | "type": "object"\n | },\n | "SecurityScheme": {\n | "anyOf": [\n | {\n | "$ref": "#/definitions/APIKeySecurityScheme"\n | },\n | {\n | "$ref": "#/definitions/HTTPAuthSecurityScheme"\n | },\n | {\n | "$ref": "#/definitions/OAuth2SecurityScheme"\n | },\n | {\n | "$ref": "#/definitions/OpenIdConnectSecurityScheme"\n | }\n | ],\n | "description": "Mirrors the OpenAPI Security Scheme Object\\n(https://swagger.io/specification/#security-scheme-object)"\n | },\n | "APIKeySecurityScheme": {\n | "description": "API Key security scheme.",\n | "properties": {\n | "description": {\n | "description": "Description of this security scheme.",\n | "type": "string"\n | },\n | "in": {\n | "description": "The location of the API key. Valid values are \\"query\\", \\"header\\", or \\"cookie\\".",\n | "enum": [\n | "cookie",\n | "header",\n | "query"\n | ],\n | "type": "string"\n | },\n | "name": {\n | "description": "The name of the header, query or cookie parameter to be used.",\n | "type": "string"\n | },\n | "type": {\n | "const": "apiKey",\n | "type": "string"\n | }\n | },\n | "required": [\n | "in",\n | "name",\n | "type"\n | ],\n | "type": "object"\n | },\n | "HTTPAuthSecurityScheme": {\n | "description": "HTTP Authentication security scheme.",\n | "properties": {\n | "bearerFormat": {\n | "description": "A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually\\ngenerated by an authorization server, so this information is primarily for documentation\\npurposes.",\n | "type": "string"\n | },\n | "description": {\n | "description": "Description of this security scheme.",\n | "type": "string"\n | },\n | "scheme": {\n | "description": "The name of the HTTP Authentication scheme to be used in the Authorization header as defined\\nin RFC7235. The values used SHOULD be registered in the IANA Authentication Scheme registry.\\nThe value is case-insensitive, as defined in RFC7235.",\n | "type": "string"\n | },\n | "type": {\n | "const": "http",\n | "type": "string"\n | }\n | },\n | "required": [\n | "scheme",\n | "type"\n | ],\n | "type": "object"\n | },\n | "OAuth2SecurityScheme": {\n | "description": "OAuth2.0 security scheme configuration.",\n | "properties": {\n | "description": {\n | "description": "Description of this security scheme.",\n | "type": "string"\n | },\n | "flows": {\n | "$ref": "#/definitions/OAuthFlows",\n | "description": "An object containing configuration information for the flow types supported."\n | },\n | "type": {\n | "const": "oauth2",\n | "type": "string"\n | }\n | },\n | "required": [\n | "flows",\n | "type"\n | ],\n | "type": "object"\n | },\n | "OAuthFlows": {\n | "description": "Allows configuration of the supported OAuth Flows",\n | "properties": {\n | "authorizationCode": {\n | "$ref": "#/definitions/AuthorizationCodeOAuthFlow",\n | "description": "Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0."\n | },\n | "clientCredentials": {\n | "$ref": "#/definitions/ClientCredentialsOAuthFlow",\n | "description": "Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0"\n | },\n | "implicit": {\n | "$ref": "#/definitions/ImplicitOAuthFlow",\n | "description": "Configuration for the OAuth Implicit flow"\n | },\n | "password": {\n | "$ref": "#/definitions/PasswordOAuthFlow",\n | "description": "Configuration for the OAuth Resource Owner Password flow"\n | }\n | },\n | "type": "object"\n | },\n | "AuthorizationCodeOAuthFlow": {\n | "description": "Configuration details for a supported OAuth Flow",\n | "properties": {\n | "authorizationUrl": {\n | "description": "The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS",\n | "type": "string"\n | },\n | "refreshUrl": {\n | "description": "The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS.",\n | "type": "string"\n | },\n | "scopes": {\n | "additionalProperties": {\n | "type": "string"\n | },\n | "description": "The available scopes for the OAuth2 security scheme. A map between the scope name and a short\\ndescription for it. The map MAY be empty.",\n | "type": "object"\n | },\n | "tokenUrl": {\n | "description": "The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard\\nrequires the use of TLS.",\n | "type": "string"\n | }\n | },\n | "required": [\n | "authorizationUrl",\n | "scopes",\n | "tokenUrl"\n | ],\n | "type": "object"\n | },\n | "ClientCredentialsOAuthFlow": {\n | "description": "Configuration details for a supported OAuth Flow",\n | "properties": {\n | "refreshUrl": {\n | "description": "The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS.",\n | "type": "string"\n | },\n | "scopes": {\n | "additionalProperties": {\n | "type": "string"\n | },\n | "description": "The available scopes for the OAuth2 security scheme. A map between the scope name and a short\\ndescription for it. The map MAY be empty.",\n | "type": "object"\n | },\n | "tokenUrl": {\n | "description": "The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard\\nrequires the use of TLS.",\n | "type": "string"\n | }\n | },\n | "required": [\n | "scopes",\n | "tokenUrl"\n | ],\n | "type": "object"\n | },\n | "ImplicitOAuthFlow": {\n | "description": "Configuration details for a supported OAuth Flow",\n | "properties": {\n | "authorizationUrl": {\n | "description": "The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS",\n | "type": "string"\n | },\n | "refreshUrl": {\n | "description": "The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS.",\n | "type": "string"\n | },\n | "scopes": {\n | "additionalProperties": {\n | "type": "string"\n | },\n | "description": "The available scopes for the OAuth2 security scheme. A map between the scope name and a short\\ndescription for it. The map MAY be empty.",\n | "type": "object"\n | }\n | },\n | "required": [\n | "authorizationUrl",\n | "scopes"\n | ],\n | "type": "object"\n | },\n | "PasswordOAuthFlow": {\n | "description": "Configuration details for a supported OAuth Flow",\n | "properties": {\n | "refreshUrl": {\n | "description": "The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\\nstandard requires the use of TLS.",\n | "type": "string"\n | },\n | "scopes": {\n | "additionalProperties": {\n | "type": "string"\n | },\n | "description": "The available scopes for the OAuth2 security scheme. A map between the scope name and a short\\ndescription for it. The map MAY be empty.",\n | "type": "object"\n | },\n | "tokenUrl": {\n | "description": "The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard\\nrequires the use of TLS.",\n | "type": "string"\n | }\n | },\n | "required": [\n | "scopes",\n | "tokenUrl"\n | ],\n | "type": "object"\n | },\n | "OpenIdConnectSecurityScheme": {\n | "description": "OpenID Connect security scheme configuration.",\n | "properties": {\n | "description": {\n | "description": "Description of this security scheme.",\n | "type": "string"\n | },\n | "openIdConnectUrl": {\n | "description": "Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata.",\n | "type": "string"\n | },\n | "type": {\n | "const": "openIdConnect",\n | "type": "string"\n | }\n | },\n | "required": [\n | "openIdConnectUrl",\n | "type"\n | ],\n | "type": "object"\n | }\n | }\n |}\n |\n |'))};
|
|
2080
|
+
p(tub,"amf.othercard.internal.plugins.parse.schema.OtherCardSchema$",{uPe:1,RWa:1});var uub;function vub(){this.Kea=this.Lea=null;this.yH=0}vub.prototype=new KNa;vub.prototype.constructor=vub;vub.prototype.YIa=function(){uub||(uub=new tub);return uub};p(vub,"amf.othercard.internal.plugins.parse.schema.OtherCardSchemaLoader$",{vPe:1,SWa:1});var wub;function xub(){wub||(wub=new vub);return wub}function yub(a){this.wJd=a}yub.prototype=new m;yub.prototype.constructor=yub;yub.prototype.gg=function(){return(0,this.wJd)()};
|
|
2081
|
+
p(yub,"amf.shapes.client.platform.BaseShapesConfiguration$$Lambda$1",{yPe:1,RG:1});function zub(a){this.yJd=a}zub.prototype=new m;zub.prototype.constructor=zub;zub.prototype.gg=function(){return(0,this.yJd)()};p(zub,"amf.shapes.client.platform.ShapesConfiguration$$Lambda$1",{EPe:1,RG:1});function Aub(a){this.zJd=a}Aub.prototype=new m;Aub.prototype.constructor=Aub;Aub.prototype.gg=function(){return(0,this.zJd)()};
|
|
2082
|
+
p(Aub,"amf.shapes.client.platform.config.JsonLDSchemaConfiguration$$Lambda$1",{JPe:1,RG:1});function Bub(a){this.AJd=a}Bub.prototype=new m;Bub.prototype.constructor=Bub;Bub.prototype.gg=function(){return(0,this.AJd)()};p(Bub,"amf.shapes.client.platform.config.SemanticJsonSchemaConfiguration$$Lambda$1",{PPe:1,RG:1});function Cub(a){V();a=a.jHa().z();V().gV();return HK(new IK,a)}function Dub(a){return!!(a&&a.$classData&&a.$classData.ed.$tb)}function Eub(){}Eub.prototype=new m;
|
|
2083
|
+
Eub.prototype.constructor=Eub;p(Eub,"amf.shapes.client.scala.render.TermNameSyntaxProvider$",{jSe:1,iSe:1});var Fub;function Gub(){Fub||(Fub=new Eub);return Fub}
|
|
2083
2084
|
function Hub(){this.u4b=null;Iub=this;var a=new y;Jub||(Jub=new Kub);a=x(a,"type-expression",Jub);var b=new y;Lub||(Lub=new Mub);b=x(b,"inheritance-provenance",Lub);var c=new y;Nub||(Nub=new Oub);c=x(c,"inherited-shapes",Nub);var e=new y;Pub||(Pub=new Qub);e=x(e,"nil-union",Pub);var f=new y;Rub||(Rub=new Sub);f=x(f,"inferred-property",Rub);var g=x(new y,"tracked-element",Yn()),h=new y;Ipb||(Ipb=new Gpb);a=[a,b,c,e,f,g,x(h,"resolved-reference-like",Ipb)];b=new uo;if(b.Xd)for(c=b.Pd,e=0,f=a.length|
|
|
2084
2085
|
0;e<f;)vo(c,a[e]),e=1+e|0;else for(c=0,e=a.length|0;c<e;)wo(b,a[c]),c=1+c|0;this.u4b=b.zc()}Hub.prototype=new dAa;Hub.prototype.constructor=Hub;p(Hub,"amf.shapes.internal.annotations.ShapeSerializableAnnotations$",{MSe:1,hpb:1});var Iub;function Wja(){Iub||(Iub=new Hub);return Iub}function Tub(){this.X4b=null;Uub=this;sLa(this)}Tub.prototype=new m;Tub.prototype.constructor=Tub;Tub.prototype.c1a=function(a){this.X4b=a};p(Tub,"amf.shapes.internal.domain.metamodel.ContextElementWithIri$",{$Te:1,Ivb:1});
|
|
2085
2086
|
var Uub;function NKa(){Uub||(Uub=new Tub);return Uub}function Vub(){this.p$c=null;Wub=this;rLa(this)}Vub.prototype=new m;Vub.prototype.constructor=Vub;Vub.prototype.cec=function(a){this.p$c=a};p(Vub,"amf.shapes.internal.domain.metamodel.DependenciesModel$",{eUe:1,o$c:1});var Wub;function mM(){this.zbd=this.xbd=this.ybd=this.Abd=null;Xub=this;Ly(this);this.Abd=z(B(),C(new D,[this.ybd,this.xbd,this.zbd]))}mM.prototype=new m;mM.prototype.constructor=mM;mM.prototype.qZ=function(a){this.ybd=a};
|