Get Cursor usage + conserve decision
get_usageCheck Cursor usage at task start to know if you must conserve quota; returns flags to batch questions and reduce follow-ups.
Instructions
Call this at the START of a task. Reads the user's current Cursor usage/spend and returns conserve + followup flags. If conserve is true, ask any real questions through the questions/options UI (free) instead of open-ended prompts or silent defaults, and batch them into one prompt. If followup is true, end each task with a brief 'anything else?' options question. Auth is automatic (reads Cursor's local token); if needsLogin is true, ask the user to ensure Cursor is open/logged in on this machine, or to run the 'login' tool. Once the quota is exhausted the reading is cached until the cycle resets (pass refresh=true to force a fresh read).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No | Bypass the cache and force a fresh fetch. Default false. |