Create Sharing Draft
arcgis_pro_create_sharing_draftCreate a controlled sharing draft (.sddraft) for maps, layers, tables, datasets, or geoprocessing results, and optionally run analyzers to validate before publishing.
Instructions
为地图、单一图层/表、数据集或 GP 结果引用创建受控 sharing draft,可同时运行该 draft 类型支持的分析器。
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": {
"aprx_path": "<aprx_path>",
"map_name": "<map_name>",
"service_name": "<service_name>",
"output_sddraft_path": "<output_sddraft_path>"
},
"name": "arcgis_pro_create_sharing_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| groups | No | ||
| analyze | No | ||
| credits | No | ||
| summary | No | ||
| map_name | Yes | ||
| aprx_path | Yes | ||
| portal_url | No | ||
| description | No | ||
| member_name | No | ||
| member_type | No | MAP | |
| server_type | No | HOSTING_SERVER | |
| service_name | Yes | ||
| service_type | No | FEATURE | |
| portal_folder | No | ||
| server_folder | No | ||
| sharing_level | No | OWNER | |
| use_limitations | No | ||
| server_connection | No | ||
| copy_data_to_server | No | ||
| output_sddraft_path | Yes | ||
| federated_server_url | No | ||
| overwrite_existing_service | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||