curl -X POST \ -H "Authorization: Bearer gmcp_your_api_key" \ -H "Content-Type: application/json" \ -d '{ "arguments": { "city": "London" } }' \ "https://yoursite.com/wp-json/getmcp/v1/tools/1/test"
{ "success": true, "status_code": 200, "response_time_ms": 342, "content": [ { "type": "text", "text": "{\"current_condition\":[{\"temp_C\":\"12\",\"temp_F\":\"54\",\"weatherDesc\":[{\"value\":\"Partly cloudy\"}]}]}" } ] }
Execute a tool with test arguments and return the real API response.