manage_collection

Manage collection schemas. Actions: upsert, get, list, delete. Use list to discover what collections exist in a database.

Parameters

NameTypeRequiredDescription
actionenum: upsert | get | list | deleteYes
database_idstringYesTarget database ID
collection_idstringNoRequired for upsert, get, delete
namestringNoCollection display name
descriptionstringNo
iconstringNo
colorstringNo
json_schemaobjectNoJSON Schema object defining the collection structure
sourcesarrayNoExternal source configs. Each source defines endpoints, auth, and field mapping for proxying operations to an external API.