documents_upsertDocument

WRITE

Upsert document.

Parameters

idstringrequired
namestringrequired
readGroupsstringrequired
writeGroupsstringrequired
extensionstringoptional
descriptionstringoptional
labelsany[]optional

Call it

Invoke it through the call_tool meta-tool with its arguments:

call_tool
call_tool({
  "name": "documents_upsertDocument",
  "arguments": {
    "id": "string",
    "name": "string",
    "readGroups": "string",
    "writeGroups": "string"
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "extension": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "labels": {
      "type": "array"
    },
    "readGroups": {
      "type": "string"
    },
    "writeGroups": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "name",
    "readGroups",
    "writeGroups"
  ]
}