Get Form Layout
get_form_layoutRead a ServiceNow form section layout in order, including field names, split markers, and formatter IDs, and locate sections by table/view to inspect form field arrangement.
Instructions
Read one form section's layout (sys_ui_section) in order: field names, .begin_split / .split / .end_split, and .formatter.<sys_id>. Find sections with query_table on sys_ui_section (name = table, view).
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": {
"section": "<section>"
},
"name": "get_form_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| section | Yes | The sys_ui_section sys_id. | |
| instance | No | The ServiceNow instance auth alias to connect to. This is the alias configured via `snc configure` (e.g., "myinstance", "prod", "test"). The user will typically refer to this by name when saying things like "on my myinstance instance". If not provided, falls back to the SN_AUTH_ALIAS environment variable. |