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.
Input Schema
TableJSON 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.',