Run my case analysis (uses a credit)
run_my_case_analysisRUN the full VetAid analysis pipeline on one of the veteran's OWN cases, ON THE VETERAN'S BEHALF. This SPENDS one of the veteran's analysis credits (free plan: first 2 free, then $9.99 each) and takes ~5-8 minutes — afterward poll get_my_case_analysis(case_id) for the results.
Requires a WRITE-scoped agent key: the veteran must have created the key with
the 'Allow running analyses' (read_write) scope. A read-only key returns a
'read-only key' error; out of credits returns 'no credits'; a case the key
owner does not own returns 'not found' (no cross-user access). Consider
calling get_my_vetaid_account() first to confirm a credit is available.
Args:
case_id: The id of one of the veteran's own cases (from list_my_va_cases).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case_id | Yes |