pressable_reset_wp_admin_password
Reset WordPress admin passwords for Pressable-hosted sites to regain access when credentials are lost or compromised.
Instructions
Reset the WordPress admin password for a site.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Implementation Reference
- tools/sites.js:144-146 (handler)The handler for the 'pressable_reset_wp_admin_password' tool performs a POST request to the site's reset-password endpoint.
handler: async (args) => { return await api.post(`/sites/${args.id}/reset-password`); } - tools/sites.js:139-143 (schema)The input schema for 'pressable_reset_wp_admin_password' expects an object with a site 'id'.
inputSchema: { type: 'object', properties: { id: { type: 'string' } }, required: ['id'] }, - tools/sites.js:136-147 (registration)Registration of the 'pressable_reset_wp_admin_password' tool within the siteTools array.
{ name: 'pressable_reset_wp_admin_password', description: 'Reset the WordPress admin password for a site.', inputSchema: { type: 'object', properties: { id: { type: 'string' } }, required: ['id'] }, handler: async (args) => { return await api.post(`/sites/${args.id}/reset-password`); } },