Add a file to a space
add_space_fileCopy local documents, code, transcripts, or recordings into a space and label them as study material or reference info so your tutor can use them.
Instructions
Copy a file from this computer into a space. Supported: .md .txt, code files (.c .py .java .js and the like), plain text with no extension, .pdf .docx .pptx .epub, .vtt .srt (transcripts) and .mp3 .m4a .wav .mp4 .mov (recordings, transcribed locally with whisper.cpp). Google Docs links (.gdoc) need saving as PDF or Word first. Study files are turned into facts by you, through wait_for_work.
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": {
"space_id": "<space_id>",
"path": "<path>",
"kind": "<kind>"
},
"name": "add_space_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | "study" = study material turned into graph facts (notes, readings, transcripts, recordings); "info" = space info the teacher can read but that never becomes facts (a syllabus, a schedule, logistics). | |
| path | Yes | The file's absolute path. | |
| space_id | Yes |