def test_mcp_action_with_thought():
    """Test creating an MCPAction with a thought."""
    action = MCPAction(
        name='test_tool',
        arguments={'arg1': 'value1', 'arg2': 42},
        thought='This is a test thought',
    )

    assert action.name == 'test_tool'
    assert action.arguments == {'arg1': 'value1', 'arg2': 42}
    assert action.thought == 'This is a test thought'
Test creating an MCPAction with a thought.
tests/unit/test_mcp_action_observation.py