Server-to-tools grouping for system prompt generation.
| 275 | |
| 276 | |
| 277 | class 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 | |
| 287 | class ToolCallMetadata(BaseModel): |
no outgoing calls