Skip to content

Descriptors

Structure Class

Descriptors dataclass

Bases: _SerdeShape

Contains descriptor-type-specific configurations for a registry record. Only the descriptor matching the record's descriptorType should be populated.

Attributes

a2a class-attribute instance-attribute
a2a: A2aDescriptor | None = ...

The Agent-to-Agent (A2A) protocol descriptor configuration. Use this when the descriptorType is A2A.

agent_skills class-attribute instance-attribute
agent_skills: AgentSkillsDescriptor | None = ...

The agent skills descriptor configuration. Use this when the descriptorType is AGENT_SKILLS.

custom class-attribute instance-attribute
custom: CustomDescriptor | None = ...

The custom descriptor configuration. Use this when the descriptorType is CUSTOM.

mcp class-attribute instance-attribute
mcp: McpDescriptor | None = ...

The Model Context Protocol (MCP) descriptor configuration. Use this when the descriptorType is MCP.