MCPcopy Create free account
hub / github.com/SkyworkAI/DeepResearchAgent / ToolExtra

Class ToolExtra

src/tool/types.py:8–14  ·  view source on GitHub ↗

Extra data for a tool response

Source from the content-addressed store, hash-verified

6from src.dynamic import dynamic_manager
7
8class ToolExtra(BaseModel):
9 """Extra data for a tool response"""
10 model_config = ConfigDict(arbitrary_types_allowed=True, extra="allow")
11
12 file_path: Optional[Union[str, List[str]]] = Field(default=None, description="The file path of the extra data")
13 data: Optional[Dict[str, Any]] = Field(default=None, description="The data of the extra data")
14 parsed_model: Optional[BaseModel] = Field(default=None, description="The parsed model of the extra data")
15
16class ToolResponse(BaseModel):
17 """Response for a tool call."""

Callers 15

__call__Method · 0.90
__call__Method · 0.90
__call__Method · 0.90
__call__Method · 0.90
__call__Method · 0.90
__call__Method · 0.90
__call__Method · 0.90
__call__Method · 0.90
__call__Method · 0.90
__call__Method · 0.90
__call__Method · 0.90
__call__Method · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected