pressable_list_plugins
Retrieve a list of plugins installed on a WordPress site to manage and audit site functionality.
Instructions
Get a list of plugins for a specific site.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Implementation Reference
- tools/content.js:12-14 (handler)The handler for the 'pressable_list_plugins' tool that fetches plugins from the API.
handler: async (args) => { return await api.get(`/sites/${args.id}/plugins`); } - tools/content.js:4-15 (registration)The full registration object for the 'pressable_list_plugins' tool, including the schema and handler definition.
{ name: 'pressable_list_plugins', description: 'Get a list of plugins for a specific site.', inputSchema: { type: 'object', properties: { id: { type: 'string' } }, required: ['id'] }, handler: async (args) => { return await api.get(`/sites/${args.id}/plugins`); } },