Create a data source
action1_create_data_sourceDefine a new custom enterprise data source by supplying a name, description, and PowerShell script. Specify output columns to structure the data and make it available for use.
Instructions
Create a data source. Creates a new custom data source. At this time, all data sources are enterprise-wide. 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": {
"body": "<body>"
},
"name": "action1_create_data_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request body | |
| confirm | No | Required to execute. Exact string "YES". | |
| dry_run | No | Default true (preview). Set false to execute. |
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 |