gateway_knowledge_ingest_file
Import a UTF-8 text or markdown file from an allowed server directory into a knowledge space for centralized use.
Instructions
Import a server-side UTF-8 text/markdown file from an allowed ingest directory into a knowledge space.
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": {
"source_path": "<source_path>"
},
"name": "gateway_knowledge_ingest_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | source | |
| space | No | ||
| title | No | ||
| status | No | source | |
| tags_json | No | [] | |
| source_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |