pm_get_webhook_usage
Report webhook quota for the current workspace: { userManaged, agentManaged, total, max }. total is the count of active subscriptions and max is the per-workspace cap; agentManaged is the subset created via API keys (like this MCP). Check this before calling pm_create_webhook in bulk — creation fails once total reaches max. API-key scope: webhooks:read.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pm_get_webhook_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Multi-account auth only: name of the account from X-Dutify-Accounts to use for this call. Ignored in single-account mode (X-API-Key header). When multiple accounts are configured and this is omitted, the call fails with ACCOUNT_REQUIRED listing the available names. list_accounts never requires a selection. | |
| workspace | No | Workspace identifier or exact name for this call. Overrides the configured workspace. For personal keys, discover candidates with list_workspaces and select explicitly. Does not change other calls or expand a workspace key's access. |