Set this project’s default account/folder
set_project_defaultSets a project’s default Google account and/or Drive folder by writing or updating .gdocs-mcp.json, so new docs created by write_doc go to the intended location.
Instructions
Write this project’s defaults to a .gdocs-mcp.json in the current working directory (or update an existing one up the tree). Set a default account and/or a default folder (URL or id). The folder is where write_doc is told new docs go: a new doc given as a bare name or at the top of My Drive is refused once, naming the folder and the full path to call. It is read when the server starts, so write_doc’s description shows a change after a restart; the refusal reads it fresh. To set a folder by name, find it first with drive({ cmd: 'find' }) and pass its id.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_project_default"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | default Drive folder (URL or id): where write_doc says a bare-named new doc will go | |
| account | No | default Google account email (must be authorized) |