submit_index_job
Queue Markdown files from the configured read-only input directory for indexing into a workspace's knowledge graph. Returns immediately with a job id; the build runs in the background, so poll get_index_job and only call query_graph after a new snapshot is published. Files are snapshotted when the job is accepted; later edits on disk are not picked up by this job. Shared-filesystem ingestion is disabled on hosted endpoints — use remember_text there. Returns: job_id, workspace_id, status ("queued"), queue_position.
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": {
"path": "<path>"
},
"name": "submit_index_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File or directory path relative to the configured input root. Every Markdown file under it is queued. | |
| source | No | Optional label prefix stored with the documents; it appears in citations and groups files that belong together. | |
| workspace_id | No | Workspace that owns the graph, 1–63 chars of [a-z0-9-]. Use the same id for every operation on one corpus. Defaults to "default". | default |