Hole API Funktions-Details
rest_api_get_function_detailsGet detailed metadata for any WordPress REST API endpoint, including parameters and types, to understand its structure and usage.
Instructions
Holt detaillierte Metadaten für einen spezifischen REST API Endpoint, inklusive aller Parameter und ihrer Typen.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"route": "<route>"
},
"name": "rest_api_get_function_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route | Yes | Der REST API Route-Pfad (z.B. "/wp/v2/posts", "/wp/v2/pages/(?P<id>[\d]+)") | |
| method | No | Filter nach HTTP-Methode |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route | Yes | ||
| methods | Yes | ||
| namespace | Yes | ||
| parameters | Yes |