pressable_get_phpmyadmin_url
Generate a time-limited phpMyAdmin URL to access and manage database for a specific WordPress site on Pressable hosting.
Instructions
Get a time-limited phpMyAdmin URL for a site.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Implementation Reference
- tools/sites.js:212-214 (handler)The handler function for pressable_get_phpmyadmin_url tool, which calls the Pressable API to retrieve a phpMyAdmin URL.
handler: async (args) => { return await api.get(`/sites/${args.id}/wordpress/phpmyadmin`); } - tools/sites.js:204-215 (registration)The registration of the pressable_get_phpmyadmin_url tool within the siteTools array.
{ name: 'pressable_get_phpmyadmin_url', description: 'Get a time-limited phpMyAdmin URL for a site.', inputSchema: { type: 'object', properties: { id: { type: 'string' } }, required: ['id'] }, handler: async (args) => { return await api.get(`/sites/${args.id}/wordpress/phpmyadmin`); } }