register_document_type
Register a new document type by defining a unique ID, display name, and folder, with options for global or project scope, custom fields, and template.
Instructions
Register a new document type. Use scope='global' for types shared across all projects, or scope='project' for project-specific types.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"type_id": "<type_id>",
"name": "<name>",
"folder_name": "<folder_name>"
},
"name": "register_document_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name (e.g., Meeting Notes) | |
| scope | No | Type scope: 'global' for shared across projects, 'project' for current project only | global |
| fields | No | Custom metadata fields | |
| type_id | Yes | Type ID (alphanumeric and underscore, e.g., meeting_notes) | |
| description | No | Document type description | |
| folder_name | Yes | Folder name in Google Drive | |
| create_folder | No | Auto-create folder (only applies to project scope) | |
| template_doc_id | No | Google Docs template ID (optional) |