Publish Service Definition
arcgis_pro_publish_service_definitionValidate an .sd service definition's SHA-256, then publish it only to an exact whitelisted Portal/Server target; credentials are neither accepted nor returned.
Instructions
校验 .sd 摘要后仅向精确白名单 Portal/Server 上传,不接受或返回凭据。
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": {
"sd_path": "<sd_path>",
"expected_sha256": "<expected_sha256>"
},
"name": "arcgis_pro_publish_service_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sd_path | Yes | ||
| aprx_path | No | ||
| portal_url | No | ||
| server_type | No | HOSTING_SERVER | |
| sharing_level | No | OWNER | |
| expected_sha256 | Yes | ||
| server_connection | No | ||
| federated_server_url | No | ||
| overwrite_existing_service | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||