get_portal_widget
Get the complete source code (HTML, CSS, client/server scripts) of a Service Portal widget by providing its sys_id or id.
Instructions
Get full source code (HTML, CSS, client/server scripts) of a Service Portal widget
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": {
"id_or_sysid": "<id_or_sysid>"
},
"name": "get_portal_widget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_or_sysid | Yes | Widget sys_id or id field (e.g. "widget-cool-clock") |