pressable_get_site_usage
Retrieve storage and resource usage data for a WordPress site to monitor performance and manage capacity.
Instructions
Get storage and resource usage for a specific site.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Implementation Reference
- tools/usage.js:24-26 (handler)The handler function for the pressable_get_site_usage tool, which fetches site usage from the Pressable API.
handler: async (args) => { return await api.get(`/sites/${args.id}/usage`); } - tools/usage.js:17-27 (registration)The full registration object for the pressable_get_site_usage tool, including name, description, schema, and handler.
name: 'pressable_get_site_usage', description: 'Get storage and resource usage for a specific site.', inputSchema: { type: 'object', properties: { id: { type: 'string' } }, required: ['id'] }, handler: async (args) => { return await api.get(`/sites/${args.id}/usage`); } },