pressable_get_mu_plugin
Retrieve details for a specific must-use WordPress plugin by providing its ID, enabling management of site functionality through the Pressable API.
Instructions
Get details for a specific MU plugin.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Implementation Reference
- tools/mu_plugins.js:26-28 (handler)The handler function for 'pressable_get_mu_plugin' that fetches plugin details from the API.
handler: async (args) => { return await api.get(`/mu-plugins/${args.id}`); } - tools/mu_plugins.js:21-25 (schema)Input schema for 'pressable_get_mu_plugin' defining the required 'id' parameter.
inputSchema: { type: 'object', properties: { id: { type: 'integer' } }, required: ['id'] }, - tools/mu_plugins.js:18-30 (registration)Registration block for the 'pressable_get_mu_plugin' tool.
{ name: 'pressable_get_mu_plugin', description: 'Get details for a specific MU plugin.', inputSchema: { type: 'object', properties: { id: { type: 'integer' } }, required: ['id'] }, handler: async (args) => { return await api.get(`/mu-plugins/${args.id}`); } } ];