describe_schema
Return the canonical Onplana entity schema. Three call modes: (1) no args → list every known entity name; (2) entity= → full descriptor (fields with type/required/default/enumValues/maxLength/isFK/isAutoManaged/description, relations, state machines, validation rules, writeSurfaces); (3) includeAll=true → bulk payload of every descriptor. It is the only source of field shapes when planning against an empty org (no sample row to introspect via get_X), and of the cross-field rules a write must satisfy. Pass projectId with entity=Task (or Project/ProjectProposal) to also get that project's live custom fields merged in, the effective create-time field set in one call. Source = hand-curated lib/schemaCatalog.ts mirroring prisma/schema.prisma + tool validate() rules.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | No | Optional entity name. Case-sensitive (e.g. "Task", "ProjectProposal"). Omit to list all entities. | |
| projectId | No | Optional. With entity=Task/Project/ProjectProposal, merges this project's custom fields (org-wide + project-scoped) into the response. | |
| includeAll | No | Default false. When true and entity is omitted, returns the full catalog (heavy). |