MCPcopy Create free account
hub / github.com/IBM/mcp-cli / ServerToolGroup

Class ServerToolGroup

src/mcp_cli/chat/models.py:277–284  ·  view source on GitHub ↗

Server-to-tools grouping for system prompt generation.

Source from the content-addressed store, hash-verified

275
276
277class ServerToolGroup(BaseModel):
278 """Server-to-tools grouping for system prompt generation."""
279
280 name: str = Field(description="Server name")
281 description: str = Field(default="", description="Server description")
282 tools: list[str] = Field(default_factory=list, description="Sorted tool names")
283
284 model_config = {"frozen": True}
285
286
287class ToolCallMetadata(BaseModel):

Calls

no outgoing calls