pressable_enable_site
Activate a WordPress site on Pressable by providing its ID or name to restore functionality and access.
Instructions
Enable a specific site.
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_enable_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The site ID or name |
Implementation Reference
- tools/sites.js:89-91 (handler)The handler for the 'pressable_enable_site' tool that calls the API to enable the site.
handler: async (args) => { return await api.post(`/sites/${args.id}/enable`); } - tools/sites.js:82-88 (schema)The input schema definition for 'pressable_enable_site'.
inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'The site ID or name' } }, required: ['id'] }, - tools/sites.js:80-81 (registration)The registration of the 'pressable_enable_site' tool within the tools list.
name: 'pressable_enable_site', description: 'Enable a specific site.',