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

Method inject_tool_message

src/mcp_cli/chat/models.py:328–330  ·  view source on GitHub ↗

Add a message directly to conversation history.

(self, message: HistoryMessage)

Source from the content-addressed store, hash-verified

326 ...
327
328 def inject_tool_message(self, message: HistoryMessage) -> None:
329 """Add a message directly to conversation history."""
330 ...
331
332
333@runtime_checkable

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected