upload_config
Upload base64-encoded configuration files to Datris, including JSON Schema validation schemas for pipeline data quality checks.
Instructions
Upload a configuration file to the Datris platform. Supports 'validation-schema' (JSON Schema files used in pipeline dataQuality schema validation). Send the file content as base64. If this Datris instance's agent policy requires a person to approve this action, the call does NOT perform it: it returns status pending_approval with an approvalId. Tell the user it is waiting for approval in Datris, then poll get_approval with that id (pause with wait_seconds between polls) — do not re-issue the action.
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": {
"content": "<content>",
"filename": "<filename>",
"type": "<type>"
},
"name": "upload_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Config file type: 'validation-schema' for JSON Schema | |
| reason | No | Optional one-line reason for this change, recorded in the platform's audit log and shown to anyone asked to approve it. | |
| content | Yes | Base64-encoded file content | |
| filename | Yes | Filename (e.g., schema.json, transform.js) |