curl -X POST \ -H "Authorization: Bearer gmcp_your_api_key" \ -H "Content-Type: application/json" \ -d '{ "description": "Create a new customer in Stripe with metadata support", "timeout": 15, "retry_count": 2, "status": "active" }' \ "https://yoursite.com/wp-json/getmcp/v1/tools/5"
{ "id": 5, "server_id": 2, "name": "create_customer", "description": "Create a new customer in Stripe with metadata support", "endpoint_url": "https://api.stripe.com/v1/customers", "http_method": "POST", "input_schema": { "type": "object", "properties": { "email": {"type": "string"}, "name": {"type": "string"} }, "required": ["email"] }, "auth_type": "bearer", "auth_credentials": null, "timeout": 15, "retry_count": 2, "sort_order": 0, "status": "active", "created_at": "2025-03-18T10:00:00", "updated_at": "2025-03-18T12:00:00" }
Update an existing tool.
GET
POST
PUT
PATCH
DELETE
active
paused