ingest_file
Ingest a single file into the knowledge base, automatically detecting code, markdown, or text for retrieval-augmented generation.
Instructions
Ingest a single file. Auto-detects code/markdown/text.
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": {
"file_path": "<file_path>"
},
"name": "ingest_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |