publish_layer
Publishes a loaded CSDI dataset to ArcGIS Online as a hosted feature layer using an ArcGIS token, returning the new item ID and service URL.
Instructions
Publish a loaded CSDI dataset to ArcGIS Online as a hosted feature layer. Needs ARCGIS_TOKEN. Returns itemId + the new service URL.
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": {
"dataset_id": "<dataset_id>"
},
"name": "publish_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | CSDI,Hong Kong | |
| title | No | ||
| dataset_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |