pressable_get_site
Retrieve detailed information about a specific WordPress site using its ID or name to manage site configurations and operations.
Instructions
Get details for a specific site by ID or name.
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": {
"id": "<id>"
},
"name": "pressable_get_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The site ID or site name |
Implementation Reference
- tools/sites.js:30-32 (handler)The handler implementation for the 'pressable_get_site' tool.
handler: async (args) => { return await api.get(`/sites/${args.id}`); } - tools/sites.js:23-29 (schema)The input schema for the 'pressable_get_site' tool.
inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'The site ID or site name' } }, required: ['id'] },