← Về thư mục
- SessionToolCatalog · class · L339-L696 — class SessionToolCatalog
- init · method · L347-L372 — def init( self, dynamic_registry: DynamicToolRegistry | None = None, *, builtins: Iterable[Tool] | None = None, tool_filter: Callable[[Tool], bool] | None = None, ) -> None
- tools · method · L374-L384 — def tools(self) -> tuple[Tool, ...]
- specs · method · L386-L387 — def specs(self) -> tuple[ToolSpec, ...]
- specs_for · method · L389-L407 — def specs_for( self, messages: Sequence[Mapping[str, Any]], ) -> tuple[ToolSpec, ...]
- activate_groups · method · L409-L416 — def activate_groups(self, *group_ids: str) -> None
- group_metadata · method · L418-L434 — def group_metadata(self) -> tuple[dict[str, Any], ...]
- search_capabilities · method · L436-L530 — def search_capabilities( self, query: str, *, offered: Callable[[Tool], bool] | None = None, ) -> dict[str, Any]
- get · method · L532-L533 — def get(self, name: str) -> Tool | None
- get_by_host_method · method · L535-L539 — def get_by_host_method(self, host_method: str) -> Tool | None
- define · method · L541-L557 — def define( self, spec: Mapping[str, Any], *, approved: bool = False, ) -> dict[str, Any]
- list_dynamic · method · L559-L563 — def list_dynamic(self) -> list[dict[str, Any]]
- promote · method · L565-L580 — def promote( self, name: str, scope: str, *, approved: bool = False, ) -> dict[str, Any]
- list_dynamic_versions · method · L582-L595 — def list_dynamic_versions( self, *, name: str | None = None, scope: str | None = None, ) -> dict[str, Any]
- activate_dynamic_version · method · L597-L618 — def activate_dynamic_version( self, name: str, scope: str, manifest_id: str, *, approved: bool = False, ) -> dict[str, Any]
- rollback_dynamic_version · method · L620-L635 — def rollback_dynamic_version( self, name: str, scope: str, *, approved: bool = False, ) -> dict[str, Any]
- execute · method · L637-L650 — def execute(self, name: str, context: Any, arguments: Mapping[str, Any]) -> Any
- _required_dynamic_registry · method · L652-L655 — def _required_dynamic_registry(self) -> DynamicToolRegistry
- _group_for · method · L658-L665 — def _group_for(tool: Tool) -> str
- _message_text · method · L668-L676 — def _message_text(messages: Sequence[Mapping[str, Any]]) -> str
- _public_manifest · method · L679-L696 — def _public_manifest(manifest: DynamicToolManifest) -> dict[str, Any]