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

Function _make_message_dict

tests/commands/export/test_export_command.py:27–28  ·  view source on GitHub ↗
(role: str = "user", content: str = "hello")

Source from the content-addressed store, hash-verified

25
26
27def _make_message_dict(role: str = "user", content: str = "hello") -> dict:
28 return {"role": role, "content": content}
29
30
31def _make_message_obj(role: str = "user", content: str = "hello") -> MagicMock:

Calls

no outgoing calls

Tested by

no test coverage detected