capabilities.work

Add a true/false field to a collection

One step with Appwrite. We can help you get access.

Get something done

Add a true/false field to a collection

Works with AI assistants

Use Appwrite: its Appwrite Databases API lets you add a true/false field to a collection in a single step (POST /databases/{databaseId}/collections/{collectionId}/attributes/boolean). Appwrite also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • What's the way to add a yes/no flag field to my documents?
  • Can a boolean attribute have a default value?
Say it to your AI assistant
  • Add boolean attribute {key} to collection {collectionId} in {databaseId}, required {required}.
  • Create true/false field {key} on {collectionId} ({databaseId}) defaulting to {default}, required {required}.
For your developer

POST /databases/{databaseId}/collections/{collectionId}/attributes/boolean in Appwrite Databases API. Full spec on APIs.io.