# CommCare AI integration on Definable

> CommCare is a mobile data collection and case management platform for health and social programs

## What this connects

CommCare is a mobile data collection and case management platform for health and social programs

Vendor: https://www.dimagi.com/commcare/

## Tools available

**6** tools available. First 6:

- `COMMCARE_CREATE_LOOKUP_TABLE` — Create Lookup Table — Tool to create a new lookup table in a CommCare domain. Use when you need to set up reference data structures like product catalogs, price lists, or configuration tables. Requires 'Edit Apps' permission.
- `COMMCARE_CREATE_WEB_USER_INVITATION` — Create Web User Invitation — Tool to create an invitation for a new web user in CommCare. Use when you need to invite a user with specific role and permissions. Requires 'Edit Web Users & Edit Access API' permissions.
- `COMMCARE_LIST_REPORTS` — List Reports — Tool to retrieve available reports configured in a CommCare project. Use when you need to discover what reports exist before downloading report data via the Download Report Data API.
- `COMMCARE_SINGLE_SIGN_ON` — Single Sign On — Tool to validate login credentials and retrieve user profile for a mobile worker or web user. Use when you need to authenticate a user and obtain their profile information including roles, permissions, locations, and configuration details.
- `COMMCARE_SUBMIT_FORM_ODK_COMPATIBLE` — Submit Form ODK Compatible — Tool to submit form data using ODK-compatible endpoint for Android client compatibility. Use when submitting XForm data to CommCare. Requires properly formatted XML with metadata including unique instanceID.
- `COMMCARE_SUBMIT_FORM_TO_APP` — Submit Form to Application — Tool to submit an XForm to a specific CommCare application. Use when you need to submit form data and tag it with a specific application ID. The form is submitted as XML following the OpenRosa standard with required metadata fields.

## Auth

Auth schemes: `API_KEY`.

## How agents use CommCare

Inside a Definable workflow, CommCare is one of the tools the **Distributor specialist** can call. Example coordination patterns:

- **Researcher → CommCare** — the Researcher (GPT-5.5) pulls context from CommCare (records, threads, documents), synthesises findings, and briefs the rest of the team.
- **Writer → Distributor → CommCare** — the Writer (Claude Opus 4.7) drafts copy in brand voice, the Verifier passes it, then the Distributor writes the result into CommCare (create record, post message, draft email).
- **Designer / Engineer → Distributor → CommCare** — the Designer ships an asset or the Engineer ships a code change, the Distributor delivers it via CommCare (attach file, open PR comment, post status).

The Verifier checks every CommCare call. On rate limit, schema drift, or auth refresh it self-heals and retries — the workflow completes without manual intervention.

## Categories

- forms & surveys — https://definable.ai/apps/category/forms-&-surveys/
- developer tools — https://definable.ai/apps/category/developer-tools/

## Related

- HTML page: https://definable.ai/apps/commcare/
- Same category (forms & surveys): https://definable.ai/apps/category/forms-&-surveys/
- All integrations: https://definable.ai/apps/
- Workflow (multi-agent loop): https://definable.ai/workflow/
- Apps llms.txt index: https://definable.ai/llms-apps.txt
