ensure_workspace
Initialize the project-scoped .my-lit workspace (config, database, PDFs) if missing. Call this first in a new project; safe to run when already initialized.
Instructions
Create project-scoped .my-lit (config, DB, PDFs) if missing. Call this first in a new project.
Pass project_root as the absolute path of the workspace/repo using this MCP. Defaults to <project_root>/.my-lit unless data_dir or MY_LIT_DATA_DIR is set. Idempotent: safe when already initialized.
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": "ensure_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| data_dir | No | ||
| project_root | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |