pressable_list_wp_users
Retrieve a list of WordPress users for a specific Pressable site to manage access and permissions.
Instructions
List WordPress users for a specific site.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| page | No | ||
| per_page | No |
Implementation Reference
- tools/content.js:44-59 (handler)The tool 'pressable_list_wp_users' is defined in 'tools/content.js'. It includes the tool name, description, input schema, and the handler function that calls the Pressable API to list WordPress users for a given site.
name: 'pressable_list_wp_users', description: 'List WordPress users for a specific site.', inputSchema: { type: 'object', properties: { id: { type: 'string' }, page: { type: 'integer' }, per_page: { type: 'integer' } }, required: ['id'] }, handler: async (args) => { const { id, ...params} = args; return await api.get(`/sites/${id}/wordpress/users`, params); } }