Find Task by Number
find_taskFind a ServiceNow task record by its number to retrieve full details, check current state, or obtain sys_id before assignment or resolution.
Instructions
Find a task record by its number (e.g., "INC0010001", "CHG0030002"). Returns the full record if found, or a clear message if not. Use this to look up sys_ids, check current state, or retrieve task details before performing actions like assigning or resolving.
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": {
"table": "<table>",
"number": "<number>"
},
"name": "find_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | The table name to search in (e.g., "incident", "change_request", "problem", "sc_task"). | |
| number | Yes | The task number to find (e.g., "INC0010001", "CHG0030002", "PRB0040001"). | |
| instance | No | The ServiceNow instance auth alias to use. 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. |