Get LINE OA Status
line_get_oa_statusCheck your LINE Official Account's health: friend count, monthly quota usage, webhook status, and default rich menu. Aggregates multiple API calls into one quick status card.
Instructions
Quick health check of a LINE Official Account: friend count, monthly quota usage, webhook status, and current default rich menu. Aggregates 4 LINE API calls into one card.
Use this as the first call of a session — every other tool decision (whether to send, schedule, switch OA, etc.) benefits from knowing current quota and webhook state.
Args:
oa (string, optional): OA id from multi-OA config. Default = active OA.
response_format ('markdown' | 'json'): Output format. Default 'markdown'.
Returns: Structured object: { oa: { id, display_name, picture_url? }, friends?: number, // omitted if not retrievable quota: { used, total, remaining, percentage_used }, webhook: { active, url? }, default_rich_menu?: { id, name? }, region?: string, health: 'OK' | 'WARNING' | 'ERROR', warnings: string[] }
Examples:
"ดูสถานะ OA หน่อย" → call with no args
"Status ของ Client A" → { oa: "client_a" }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| oa | No | Optional OA id from the multi-OA config. Omit to use the active/default OA. | |
| response_format | No | Output format. 'markdown' is human-readable; 'json' is structured. | markdown |