def test_mcp_action_message():
    """Test the message property of MCPAction."""
    action = MCPAction(name='test_tool', arguments={'arg1': 'value1', 'arg2': 42})

    message = action.message
    assert 'test_tool' in message
    assert 'arg1' in message
    assert 'value1' in message
    assert '42' in message
Test the message property of MCPAction.
tests/unit/test_mcp_action_observation.py