proj_add_document
Add an existing document to a project by specifying its full file path, optionally targeting a specific project instead of the active one. Confirms the operation was completed.
Instructions
Add an existing document to a project.
Args: document_path: Full path to the document to add project_path: Optional project path. If None, uses active project.
Returns: Dictionary confirming the operation
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": {
"document_path": "<document_path>"
},
"name": "proj_add_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | No | ||
| document_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||