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

Method from_dict_args

src/mcp_cli/chat/models.py:67–69  ·  view source on GitHub ↗

Create FunctionCallData from dict arguments.

(cls, name: str, arguments: dict[str, Any])

Source from the content-addressed store, hash-verified

65
66 @classmethod
67 def from_dict_args(cls, name: str, arguments: dict[str, Any]) -> "FunctionCallData":
68 """Create FunctionCallData from dict arguments."""
69 return cls(name=name, arguments=json.dumps(arguments))
70
71
72class ToolCallData(BaseModel):

Callers 1

test_from_dict_argsMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_from_dict_argsMethod · 0.64