Get Ability Info
wp_get_ability_infoGet detailed information about a specific WordPress Ability, including its full input/output schema and annotations. Use this before running an ability to understand its parameters and whether it is read-only, destructive, or idempotent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ability | Yes | The ability name (e.g. "my-plugin/site-info") | |
| site_id | No | Site ID to target (optional if you have only one connected site) |