get_metadata_source
Fetches a single ServiceNow source record by name or sys_id for a specified source type, returning its body and a flag indicating whether the preview was truncated.
Instructions
Get one source record (SI/BR/widget) by name/sys_id. Returns body; 'complete' flags if truncated preview.
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": {
"source_type": "<source_type>",
"source_id": "<source_id>"
},
"name": "get_metadata_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_id | Yes | sys_id, name, or logical identifier | |
| source_type | Yes | Specific source type (not 'all'). | |
| max_field_length | No |