agentconnect.core.registry.search.schemas module¶
Registry Search Schemas - Single Source of Truth for Agent Search Interfaces
These schemas define the input, output, and result structures for agent search operations. They are used across all search interfaces: API endpoints, MCP servers, and LangChain tools.
- class AgentSearchInput(**data)¶
Bases:
BaseModelInput schema for agent search.
- Parameters:
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class AgentSearchResultItem(**data)¶
Bases:
BaseModelDefines the structure for each agent in the search results.
- Parameters:
- class Config¶
Bases:
objectConfig for the AgentSearchResultItem.
- extra = 'ignore'¶
- exclude_none = True¶
- model_config: ClassVar[ConfigDict] = {'exclude_none': True, 'extra': 'ignore'}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class AgentSearchOutput(**data)¶
Bases:
BaseModelOutput schema for agent search, containing a list of results.
- Parameters:
message (str)
results (List[AgentSearchResultItem])
-
results:
List[AgentSearchResultItem]¶
- model_config: ClassVar[ConfigDict] = {'exclude_none': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].