Update a custom data source
action1_update_data_sourceUpdates a custom data source by ID, letting you modify its name, columns, description, or script and preview changes before execution.
Instructions
Update a custom data source. Updates a custom data source specified by its ID. Perm: manage_data_sources.
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": {
"data_source_id": "<data_source_id>"
},
"name": "action1_update_data_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body (schema: DataSourcePayload) | |
| confirm | No | Required to execute. Exact string "YES". | |
| dry_run | No | Default true (preview). Set false to execute. | |
| data_source_id | Yes | Provide a specific data source ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| self | No | ||
| tool | No | ||
| type | No | ||
| status | No | ||
| builtin | No | ||
| columns | No | ||
| dry_run | No | ||
| language | No | ||
| would_send | No | ||
| description | No | ||
| script_text | No |