explain_api
Provide a ServiceNow API, class, or method topic to receive an explanation with examples and best practices.
Instructions
Explain a ServiceNow API, class, or method with examples and best practices.
Topics you can ask about: GlideRecord, GlideAggregate, GlideScopedEvaluator, GlideSystem (gs), RESTMessageV2, GlideAjax, GlideDateTime, GlideUser, GlideFlow, ServiceNow Table API (REST), Scripted REST API pattern, Business Rule lifecycle, Script Include class pattern, Client Script event types, ATF step types
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": {
"topic": "<topic>"
},
"name": "explain_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | The API, class, or concept to explain |