X diagnostics
x_metaDiagnose X API credentials, inspect endpoint rate limits and cache behavior, and track billed post usage to troubleshoot authentication or quota issues.
Instructions
Check credentials, observed rate limits and billed API usage.
Actions (pass "action" plus that action's parameters):
auth_status: Diagnose credentials: which auth modes are configured, whether a user session can post/DM, token expiry and scopes, plus the effective server flags (read-only, dry-run, cache, API base).
rate_limits: Shows the last rate-limit window X reported for each endpoint (remaining requests and reset time), the in-memory cache hit/miss counters, and whether the server waits or fails when a buck…
usage: Current billing-period post consumption for the X project: the cap, how many posts have been consumed, and daily usage.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "x_meta"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform. One of: auth_status, rate_limits, usage. |