ipt_add_source
Add a data source to the IPT from a local file, URL, or SQL source. Text files are validated for encoding and formatting issues, with an option to skip validation.
Instructions
[writes to the IPT] Add a data source: a local file (.txt/.csv/.tsv/.xlsx/.zip), a URL, or an (unconfigured) SQL source. Text files are validated first and refused when they have problems (embedded newlines/tabs, bad encoding, …) unless skipValidation.
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": {
"shortname": "<shortname>",
"type": "<type>"
},
"name": "ipt_add_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | url: address of the file | |
| name | No | Source name (required for url and sql) | |
| path | No | file: local path | |
| type | Yes | ||
| delimiter | No | Delimiter used to validate the file (default: tab for .txt/.tsv, comma for .csv) | |
| shortname | Yes | Resource shortname | |
| skipValidation | No |