nowaikit 3.0.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +10 -10
- package/README.md +8 -6
- package/desktop/renderer/dist/assets/index-D46KUWoj.js +49 -0
- package/desktop/renderer/dist/index.html +5 -5
- package/desktop/serve.cjs +134 -10
- package/dist/a2a/agent-card.d.ts +8 -0
- package/dist/a2a/agent-card.d.ts.map +1 -0
- package/dist/a2a/agent-card.js +82 -0
- package/dist/a2a/agent-card.js.map +1 -0
- package/dist/a2a/index.d.ts +13 -0
- package/dist/a2a/index.d.ts.map +1 -0
- package/dist/a2a/index.js +74 -0
- package/dist/a2a/index.js.map +1 -0
- package/dist/a2a/task-manager.d.ts +20 -0
- package/dist/a2a/task-manager.d.ts.map +1 -0
- package/dist/a2a/task-manager.js +148 -0
- package/dist/a2a/task-manager.js.map +1 -0
- package/dist/a2a/types.d.ts +73 -0
- package/dist/a2a/types.d.ts.map +1 -0
- package/dist/a2a/types.js +6 -0
- package/dist/a2a/types.js.map +1 -0
- package/dist/api/index.d.ts +16 -0
- package/dist/api/index.d.ts.map +1 -0
- package/dist/api/index.js +106 -0
- package/dist/api/index.js.map +1 -0
- package/dist/cli/config-store.d.ts +31 -0
- package/dist/cli/config-store.d.ts.map +1 -1
- package/dist/cli/config-store.js +44 -1
- package/dist/cli/config-store.js.map +1 -1
- package/dist/cli/index.js +115 -9
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/setup.d.ts.map +1 -1
- package/dist/cli/setup.js +669 -49
- package/dist/cli/setup.js.map +1 -1
- package/dist/cli/shortcuts.d.ts +2 -0
- package/dist/cli/shortcuts.d.ts.map +1 -0
- package/dist/cli/shortcuts.js +122 -0
- package/dist/cli/shortcuts.js.map +1 -0
- package/dist/dashboard/index.d.ts +7 -0
- package/dist/dashboard/index.d.ts.map +1 -0
- package/dist/dashboard/index.js +111 -0
- package/dist/dashboard/index.js.map +1 -0
- package/dist/direct/llm-client.d.ts +1 -1
- package/dist/direct/llm-client.d.ts.map +1 -1
- package/dist/direct/llm-client.js +9 -4
- package/dist/direct/llm-client.js.map +1 -1
- package/dist/prompts/capabilities/build-app.d.ts.map +1 -1
- package/dist/prompts/capabilities/build-app.js +2 -0
- package/dist/prompts/capabilities/build-app.js.map +1 -1
- package/dist/prompts/capabilities/build-atf-suite.d.ts +4 -0
- package/dist/prompts/capabilities/build-atf-suite.d.ts.map +1 -0
- package/dist/prompts/capabilities/build-atf-suite.js +143 -0
- package/dist/prompts/capabilities/build-atf-suite.js.map +1 -0
- package/dist/prompts/capabilities/build-business-rule.d.ts.map +1 -1
- package/dist/prompts/capabilities/build-business-rule.js +2 -0
- package/dist/prompts/capabilities/build-business-rule.js.map +1 -1
- package/dist/prompts/capabilities/build-catalog.d.ts.map +1 -1
- package/dist/prompts/capabilities/build-catalog.js +2 -0
- package/dist/prompts/capabilities/build-catalog.js.map +1 -1
- package/dist/prompts/capabilities/build-client-script.d.ts.map +1 -1
- package/dist/prompts/capabilities/build-client-script.js +2 -0
- package/dist/prompts/capabilities/build-client-script.js.map +1 -1
- package/dist/prompts/capabilities/build-flow.d.ts.map +1 -1
- package/dist/prompts/capabilities/build-flow.js +2 -0
- package/dist/prompts/capabilities/build-flow.js.map +1 -1
- package/dist/prompts/capabilities/build-portal.d.ts.map +1 -1
- package/dist/prompts/capabilities/build-portal.js +2 -0
- package/dist/prompts/capabilities/build-portal.js.map +1 -1
- package/dist/prompts/capabilities/build-rest-api.d.ts.map +1 -1
- package/dist/prompts/capabilities/build-rest-api.js +2 -0
- package/dist/prompts/capabilities/build-rest-api.js.map +1 -1
- package/dist/prompts/capabilities/build-test-plan.d.ts.map +1 -1
- package/dist/prompts/capabilities/build-test-plan.js +2 -0
- package/dist/prompts/capabilities/build-test-plan.js.map +1 -1
- package/dist/prompts/capabilities/build-uib.d.ts.map +1 -1
- package/dist/prompts/capabilities/build-uib.js +2 -0
- package/dist/prompts/capabilities/build-uib.js.map +1 -1
- package/dist/prompts/capabilities/docs-app.d.ts.map +1 -1
- package/dist/prompts/capabilities/docs-app.js +2 -0
- package/dist/prompts/capabilities/docs-app.js.map +1 -1
- package/dist/prompts/capabilities/docs-release.d.ts.map +1 -1
- package/dist/prompts/capabilities/docs-release.js +2 -0
- package/dist/prompts/capabilities/docs-release.js.map +1 -1
- package/dist/prompts/capabilities/docs-runbook.d.ts.map +1 -1
- package/dist/prompts/capabilities/docs-runbook.js +2 -0
- package/dist/prompts/capabilities/docs-runbook.js.map +1 -1
- package/dist/prompts/capabilities/docs-script.d.ts.map +1 -1
- package/dist/prompts/capabilities/docs-script.js +2 -0
- package/dist/prompts/capabilities/docs-script.js.map +1 -1
- package/dist/prompts/capabilities/ops-deploy.d.ts.map +1 -1
- package/dist/prompts/capabilities/ops-deploy.js +2 -0
- package/dist/prompts/capabilities/ops-deploy.js.map +1 -1
- package/dist/prompts/capabilities/ops-risk.d.ts.map +1 -1
- package/dist/prompts/capabilities/ops-risk.js +2 -0
- package/dist/prompts/capabilities/ops-risk.js.map +1 -1
- package/dist/prompts/capabilities/ops-triage.d.ts.map +1 -1
- package/dist/prompts/capabilities/ops-triage.js +2 -0
- package/dist/prompts/capabilities/ops-triage.js.map +1 -1
- package/dist/prompts/capabilities/review-acls.d.ts.map +1 -1
- package/dist/prompts/capabilities/review-acls.js +2 -0
- package/dist/prompts/capabilities/review-acls.js.map +1 -1
- package/dist/prompts/capabilities/review-code.d.ts.map +1 -1
- package/dist/prompts/capabilities/review-code.js +2 -0
- package/dist/prompts/capabilities/review-code.js.map +1 -1
- package/dist/prompts/capabilities/review-flows.d.ts.map +1 -1
- package/dist/prompts/capabilities/review-flows.js +2 -0
- package/dist/prompts/capabilities/review-flows.js.map +1 -1
- package/dist/prompts/capabilities/review-scripts.d.ts.map +1 -1
- package/dist/prompts/capabilities/review-scripts.js +2 -0
- package/dist/prompts/capabilities/review-scripts.js.map +1 -1
- package/dist/prompts/capabilities/scan-automation.d.ts.map +1 -1
- package/dist/prompts/capabilities/scan-automation.js +2 -0
- package/dist/prompts/capabilities/scan-automation.js.map +1 -1
- package/dist/prompts/capabilities/scan-cmdb.d.ts.map +1 -1
- package/dist/prompts/capabilities/scan-cmdb.js +2 -0
- package/dist/prompts/capabilities/scan-cmdb.js.map +1 -1
- package/dist/prompts/capabilities/scan-debt.d.ts.map +1 -1
- package/dist/prompts/capabilities/scan-debt.js +2 -0
- package/dist/prompts/capabilities/scan-debt.js.map +1 -1
- package/dist/prompts/capabilities/scan-health.d.ts.map +1 -1
- package/dist/prompts/capabilities/scan-health.js +2 -0
- package/dist/prompts/capabilities/scan-health.js.map +1 -1
- package/dist/prompts/capabilities/scan-security.d.ts.map +1 -1
- package/dist/prompts/capabilities/scan-security.js +2 -0
- package/dist/prompts/capabilities/scan-security.js.map +1 -1
- package/dist/prompts/capabilities/scan-upgrade.d.ts.map +1 -1
- package/dist/prompts/capabilities/scan-upgrade.js +2 -0
- package/dist/prompts/capabilities/scan-upgrade.js.map +1 -1
- package/dist/prompts/index.d.ts.map +1 -1
- package/dist/prompts/index.js +47 -8
- package/dist/prompts/index.js.map +1 -1
- package/dist/reports/brand.d.ts +79 -0
- package/dist/reports/brand.d.ts.map +1 -0
- package/dist/reports/brand.js +204 -0
- package/dist/reports/brand.js.map +1 -0
- package/dist/reports/charts.d.ts +11 -0
- package/dist/reports/charts.d.ts.map +1 -0
- package/dist/reports/charts.js +91 -0
- package/dist/reports/charts.js.map +1 -0
- package/dist/reports/index.d.ts +13 -0
- package/dist/reports/index.d.ts.map +1 -0
- package/dist/reports/index.js +65 -0
- package/dist/reports/index.js.map +1 -0
- package/dist/reports/parser.d.ts +13 -0
- package/dist/reports/parser.d.ts.map +1 -0
- package/dist/reports/parser.js +202 -0
- package/dist/reports/parser.js.map +1 -0
- package/dist/reports/pdf-generator.d.ts +8 -0
- package/dist/reports/pdf-generator.d.ts.map +1 -0
- package/dist/reports/pdf-generator.js +244 -0
- package/dist/reports/pdf-generator.js.map +1 -0
- package/dist/reports/pptx-generator.d.ts +8 -0
- package/dist/reports/pptx-generator.d.ts.map +1 -0
- package/dist/reports/pptx-generator.js +273 -0
- package/dist/reports/pptx-generator.js.map +1 -0
- package/dist/reports/types.d.ts +60 -0
- package/dist/reports/types.d.ts.map +1 -0
- package/dist/reports/types.js +7 -0
- package/dist/reports/types.js.map +1 -0
- package/dist/resources/index.d.ts.map +1 -1
- package/dist/resources/index.js +10 -0
- package/dist/resources/index.js.map +1 -1
- package/dist/resources/query-syntax.d.ts +6 -0
- package/dist/resources/query-syntax.d.ts.map +1 -0
- package/dist/resources/query-syntax.js +113 -0
- package/dist/resources/query-syntax.js.map +1 -0
- package/dist/sdk/index.d.ts +51 -0
- package/dist/sdk/index.d.ts.map +1 -0
- package/dist/sdk/index.js +55 -0
- package/dist/sdk/index.js.map +1 -0
- package/dist/server.d.ts +2 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +103 -92
- package/dist/server.js.map +1 -1
- package/dist/servicenow/client.js +1 -1
- package/dist/servicenow/client.js.map +1 -1
- package/dist/tools/ai-agents.d.ts +145 -0
- package/dist/tools/ai-agents.d.ts.map +1 -0
- package/dist/tools/ai-agents.js +185 -0
- package/dist/tools/ai-agents.js.map +1 -0
- package/dist/tools/cmdb-reconciliation.d.ts +112 -0
- package/dist/tools/cmdb-reconciliation.d.ts.map +1 -0
- package/dist/tools/cmdb-reconciliation.js +267 -0
- package/dist/tools/cmdb-reconciliation.js.map +1 -0
- package/dist/tools/discovery.d.ts +34 -0
- package/dist/tools/discovery.d.ts.map +1 -0
- package/dist/tools/discovery.js +168 -0
- package/dist/tools/discovery.js.map +1 -0
- package/dist/tools/fluent.d.ts +105 -11
- package/dist/tools/fluent.d.ts.map +1 -1
- package/dist/tools/fluent.js +118 -1
- package/dist/tools/fluent.js.map +1 -1
- package/dist/tools/index.d.ts +840 -0
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +44 -6
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/ml.d.ts +104 -0
- package/dist/tools/ml.d.ts.map +1 -1
- package/dist/tools/ml.js +139 -0
- package/dist/tools/ml.js.map +1 -1
- package/dist/tools/now-assist-skills.d.ts +129 -0
- package/dist/tools/now-assist-skills.d.ts.map +1 -0
- package/dist/tools/now-assist-skills.js +128 -0
- package/dist/tools/now-assist-skills.js.map +1 -0
- package/dist/tools/orchestration.d.ts +132 -0
- package/dist/tools/orchestration.d.ts.map +1 -0
- package/dist/tools/orchestration.js +320 -0
- package/dist/tools/orchestration.js.map +1 -0
- package/dist/tools/reporting.d.ts +127 -1
- package/dist/tools/reporting.d.ts.map +1 -1
- package/dist/tools/reporting.js +64 -0
- package/dist/tools/reporting.js.map +1 -1
- package/dist/tools/schema-cache.d.ts +44 -0
- package/dist/tools/schema-cache.d.ts.map +1 -0
- package/dist/tools/schema-cache.js +127 -0
- package/dist/tools/schema-cache.js.map +1 -0
- package/dist/tools-manifest.json +1250 -25
- package/dist/transport/auth-middleware.d.ts +16 -0
- package/dist/transport/auth-middleware.d.ts.map +1 -0
- package/dist/transport/auth-middleware.js +31 -0
- package/dist/transport/auth-middleware.js.map +1 -0
- package/dist/transport/http-server.d.ts +44 -0
- package/dist/transport/http-server.d.ts.map +1 -0
- package/dist/transport/http-server.js +172 -0
- package/dist/transport/http-server.js.map +1 -0
- package/dist/transport/index.d.ts +19 -0
- package/dist/transport/index.d.ts.map +1 -0
- package/dist/transport/index.js +105 -0
- package/dist/transport/index.js.map +1 -0
- package/dist/utils/permissions.d.ts +2 -0
- package/dist/utils/permissions.d.ts.map +1 -1
- package/dist/utils/permissions.js +8 -0
- package/dist/utils/permissions.js.map +1 -1
- package/package.json +27 -4
- package/desktop/renderer/dist/assets/index-B-6BYnh8.js +0 -49
package/dist/tools-manifest.json
CHANGED
|
@@ -72,6 +72,74 @@
|
|
|
72
72
|
]
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
|
+
{
|
|
76
|
+
"name": "create_record",
|
|
77
|
+
"description": "Create a new record in any ServiceNow table (requires WRITE_ENABLED=true)",
|
|
78
|
+
"inputSchema": {
|
|
79
|
+
"type": "object",
|
|
80
|
+
"properties": {
|
|
81
|
+
"table": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"description": "Table name (e.g., \"incident\", \"sys_user_preference\")"
|
|
84
|
+
},
|
|
85
|
+
"fields": {
|
|
86
|
+
"type": "object",
|
|
87
|
+
"description": "Key-value pairs for the new record fields"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"required": [
|
|
91
|
+
"table",
|
|
92
|
+
"fields"
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "update_record",
|
|
98
|
+
"description": "Update an existing record in any ServiceNow table (requires WRITE_ENABLED=true)",
|
|
99
|
+
"inputSchema": {
|
|
100
|
+
"type": "object",
|
|
101
|
+
"properties": {
|
|
102
|
+
"table": {
|
|
103
|
+
"type": "string",
|
|
104
|
+
"description": "Table name (e.g., \"incident\", \"sys_user_preference\")"
|
|
105
|
+
},
|
|
106
|
+
"sys_id": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"description": "32-character system ID of the record to update"
|
|
109
|
+
},
|
|
110
|
+
"fields": {
|
|
111
|
+
"type": "object",
|
|
112
|
+
"description": "Key-value pairs of fields to update"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"required": [
|
|
116
|
+
"table",
|
|
117
|
+
"sys_id",
|
|
118
|
+
"fields"
|
|
119
|
+
]
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "delete_record",
|
|
124
|
+
"description": "Delete a record from any ServiceNow table (requires WRITE_ENABLED=true)",
|
|
125
|
+
"inputSchema": {
|
|
126
|
+
"type": "object",
|
|
127
|
+
"properties": {
|
|
128
|
+
"table": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"description": "Table name"
|
|
131
|
+
},
|
|
132
|
+
"sys_id": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"description": "32-character system ID of the record to delete"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"required": [
|
|
138
|
+
"table",
|
|
139
|
+
"sys_id"
|
|
140
|
+
]
|
|
141
|
+
}
|
|
142
|
+
},
|
|
75
143
|
{
|
|
76
144
|
"name": "get_user",
|
|
77
145
|
"description": "Look up user details by email or username",
|
|
@@ -304,6 +372,72 @@
|
|
|
304
372
|
"required": []
|
|
305
373
|
}
|
|
306
374
|
},
|
|
375
|
+
{
|
|
376
|
+
"name": "create_ci_relationship",
|
|
377
|
+
"description": "[Write] Create a relationship between two CMDB Configuration Items",
|
|
378
|
+
"inputSchema": {
|
|
379
|
+
"type": "object",
|
|
380
|
+
"properties": {
|
|
381
|
+
"parent": {
|
|
382
|
+
"type": "string",
|
|
383
|
+
"description": "Parent CI sys_id"
|
|
384
|
+
},
|
|
385
|
+
"child": {
|
|
386
|
+
"type": "string",
|
|
387
|
+
"description": "Child CI sys_id"
|
|
388
|
+
},
|
|
389
|
+
"type": {
|
|
390
|
+
"type": "string",
|
|
391
|
+
"description": "Relationship type (e.g. \"Runs on::Runs\")"
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
"required": [
|
|
395
|
+
"parent",
|
|
396
|
+
"child",
|
|
397
|
+
"type"
|
|
398
|
+
]
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"name": "cmdb_impact_analysis",
|
|
403
|
+
"description": "Analyze the downstream impact of a Configuration Item change or outage",
|
|
404
|
+
"inputSchema": {
|
|
405
|
+
"type": "object",
|
|
406
|
+
"properties": {
|
|
407
|
+
"ci_sys_id": {
|
|
408
|
+
"type": "string",
|
|
409
|
+
"description": "CI sys_id to analyze"
|
|
410
|
+
},
|
|
411
|
+
"depth": {
|
|
412
|
+
"type": "number",
|
|
413
|
+
"description": "Relationship depth to traverse (default: 2)"
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
"required": [
|
|
417
|
+
"ci_sys_id"
|
|
418
|
+
]
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"name": "run_discovery_scan",
|
|
423
|
+
"description": "[Write] Trigger a ServiceNow Discovery scan for network/infrastructure",
|
|
424
|
+
"inputSchema": {
|
|
425
|
+
"type": "object",
|
|
426
|
+
"properties": {
|
|
427
|
+
"schedule_id": {
|
|
428
|
+
"type": "string",
|
|
429
|
+
"description": "Discovery schedule sys_id to run"
|
|
430
|
+
},
|
|
431
|
+
"mid_server": {
|
|
432
|
+
"type": "string",
|
|
433
|
+
"description": "Optional MID server name"
|
|
434
|
+
}
|
|
435
|
+
},
|
|
436
|
+
"required": [
|
|
437
|
+
"schedule_id"
|
|
438
|
+
]
|
|
439
|
+
}
|
|
440
|
+
},
|
|
307
441
|
{
|
|
308
442
|
"name": "create_incident",
|
|
309
443
|
"description": "Create a new incident record (requires WRITE_ENABLED=true)",
|
|
@@ -748,6 +882,35 @@
|
|
|
748
882
|
]
|
|
749
883
|
}
|
|
750
884
|
},
|
|
885
|
+
{
|
|
886
|
+
"name": "schedule_cab_meeting",
|
|
887
|
+
"description": "[Write] Schedule a Change Advisory Board (CAB) meeting",
|
|
888
|
+
"inputSchema": {
|
|
889
|
+
"type": "object",
|
|
890
|
+
"properties": {
|
|
891
|
+
"change_id": {
|
|
892
|
+
"type": "string",
|
|
893
|
+
"description": "Change request number (CHG...) or sys_id"
|
|
894
|
+
},
|
|
895
|
+
"date": {
|
|
896
|
+
"type": "string",
|
|
897
|
+
"description": "ISO date for the CAB meeting"
|
|
898
|
+
},
|
|
899
|
+
"duration_minutes": {
|
|
900
|
+
"type": "number",
|
|
901
|
+
"description": "Meeting duration in minutes"
|
|
902
|
+
},
|
|
903
|
+
"attendees": {
|
|
904
|
+
"type": "string",
|
|
905
|
+
"description": "Comma-separated group names"
|
|
906
|
+
}
|
|
907
|
+
},
|
|
908
|
+
"required": [
|
|
909
|
+
"change_id",
|
|
910
|
+
"date"
|
|
911
|
+
]
|
|
912
|
+
}
|
|
913
|
+
},
|
|
751
914
|
{
|
|
752
915
|
"name": "get_task",
|
|
753
916
|
"description": "Get details of any task record by number or sys_id",
|
|
@@ -940,6 +1103,22 @@
|
|
|
940
1103
|
]
|
|
941
1104
|
}
|
|
942
1105
|
},
|
|
1106
|
+
{
|
|
1107
|
+
"name": "retire_knowledge_article",
|
|
1108
|
+
"description": "[Write] Retire a knowledge article (mark as outdated)",
|
|
1109
|
+
"inputSchema": {
|
|
1110
|
+
"type": "object",
|
|
1111
|
+
"properties": {
|
|
1112
|
+
"article_id": {
|
|
1113
|
+
"type": "string",
|
|
1114
|
+
"description": "Article number (KB...) or sys_id"
|
|
1115
|
+
}
|
|
1116
|
+
},
|
|
1117
|
+
"required": [
|
|
1118
|
+
"article_id"
|
|
1119
|
+
]
|
|
1120
|
+
}
|
|
1121
|
+
},
|
|
943
1122
|
{
|
|
944
1123
|
"name": "list_catalog_items",
|
|
945
1124
|
"description": "List available service catalog items",
|
|
@@ -1238,6 +1417,74 @@
|
|
|
1238
1417
|
"required": []
|
|
1239
1418
|
}
|
|
1240
1419
|
},
|
|
1420
|
+
{
|
|
1421
|
+
"name": "create_catalog_variable",
|
|
1422
|
+
"description": "[Write] Add a form variable to a service catalog item",
|
|
1423
|
+
"inputSchema": {
|
|
1424
|
+
"type": "object",
|
|
1425
|
+
"properties": {
|
|
1426
|
+
"cat_item_id": {
|
|
1427
|
+
"type": "string",
|
|
1428
|
+
"description": "Catalog item sys_id"
|
|
1429
|
+
},
|
|
1430
|
+
"name": {
|
|
1431
|
+
"type": "string",
|
|
1432
|
+
"description": "Variable name"
|
|
1433
|
+
},
|
|
1434
|
+
"question_text": {
|
|
1435
|
+
"type": "string",
|
|
1436
|
+
"description": "Label shown to user"
|
|
1437
|
+
},
|
|
1438
|
+
"type": {
|
|
1439
|
+
"type": "string",
|
|
1440
|
+
"description": "Variable type: string/reference/select_box/checkbox/date/date_time/integer/multi_line_text/email"
|
|
1441
|
+
},
|
|
1442
|
+
"order": {
|
|
1443
|
+
"type": "number",
|
|
1444
|
+
"description": "Display order (default: 100)"
|
|
1445
|
+
},
|
|
1446
|
+
"mandatory": {
|
|
1447
|
+
"type": "boolean",
|
|
1448
|
+
"description": "Required field"
|
|
1449
|
+
}
|
|
1450
|
+
},
|
|
1451
|
+
"required": [
|
|
1452
|
+
"cat_item_id",
|
|
1453
|
+
"name",
|
|
1454
|
+
"question_text",
|
|
1455
|
+
"type"
|
|
1456
|
+
]
|
|
1457
|
+
}
|
|
1458
|
+
},
|
|
1459
|
+
{
|
|
1460
|
+
"name": "create_catalog_ui_policy",
|
|
1461
|
+
"description": "[Write] Create a UI policy for a catalog item form",
|
|
1462
|
+
"inputSchema": {
|
|
1463
|
+
"type": "object",
|
|
1464
|
+
"properties": {
|
|
1465
|
+
"cat_item_id": {
|
|
1466
|
+
"type": "string",
|
|
1467
|
+
"description": "Catalog item sys_id"
|
|
1468
|
+
},
|
|
1469
|
+
"short_description": {
|
|
1470
|
+
"type": "string",
|
|
1471
|
+
"description": "UI policy description"
|
|
1472
|
+
},
|
|
1473
|
+
"conditions": {
|
|
1474
|
+
"type": "string",
|
|
1475
|
+
"description": "Encoded condition query"
|
|
1476
|
+
},
|
|
1477
|
+
"reverse_if_false": {
|
|
1478
|
+
"type": "boolean",
|
|
1479
|
+
"description": "Reverse actions when condition is false"
|
|
1480
|
+
}
|
|
1481
|
+
},
|
|
1482
|
+
"required": [
|
|
1483
|
+
"cat_item_id",
|
|
1484
|
+
"short_description"
|
|
1485
|
+
]
|
|
1486
|
+
}
|
|
1487
|
+
},
|
|
1241
1488
|
{
|
|
1242
1489
|
"name": "list_users",
|
|
1243
1490
|
"description": "List users with optional search filter",
|
|
@@ -1790,68 +2037,202 @@
|
|
|
1790
2037
|
}
|
|
1791
2038
|
},
|
|
1792
2039
|
{
|
|
1793
|
-
"name": "
|
|
1794
|
-
"description": "
|
|
2040
|
+
"name": "create_scheduled_report",
|
|
2041
|
+
"description": "[Write] Schedule a report for recurring email delivery",
|
|
1795
2042
|
"inputSchema": {
|
|
1796
2043
|
"type": "object",
|
|
1797
2044
|
"properties": {
|
|
1798
|
-
"
|
|
1799
|
-
"type": "
|
|
1800
|
-
"description": "
|
|
2045
|
+
"report_id": {
|
|
2046
|
+
"type": "string",
|
|
2047
|
+
"description": "Report sys_id"
|
|
1801
2048
|
},
|
|
1802
|
-
"
|
|
2049
|
+
"frequency": {
|
|
1803
2050
|
"type": "string",
|
|
1804
|
-
"description": "
|
|
2051
|
+
"description": "Frequency: daily/weekly/monthly"
|
|
1805
2052
|
},
|
|
1806
|
-
"
|
|
2053
|
+
"recipients": {
|
|
2054
|
+
"type": "string",
|
|
2055
|
+
"description": "Email addresses"
|
|
2056
|
+
},
|
|
2057
|
+
"day_of_week": {
|
|
2058
|
+
"type": "string",
|
|
2059
|
+
"description": "Day of week (for weekly frequency)"
|
|
2060
|
+
},
|
|
2061
|
+
"day_of_month": {
|
|
1807
2062
|
"type": "number",
|
|
1808
|
-
"description": "
|
|
2063
|
+
"description": "Day of month (for monthly frequency)"
|
|
2064
|
+
},
|
|
2065
|
+
"format": {
|
|
2066
|
+
"type": "string",
|
|
2067
|
+
"description": "Export format: pdf/csv/xlsx"
|
|
1809
2068
|
}
|
|
1810
2069
|
},
|
|
1811
|
-
"required": [
|
|
2070
|
+
"required": [
|
|
2071
|
+
"report_id",
|
|
2072
|
+
"frequency",
|
|
2073
|
+
"recipients"
|
|
2074
|
+
]
|
|
1812
2075
|
}
|
|
1813
2076
|
},
|
|
1814
2077
|
{
|
|
1815
|
-
"name": "
|
|
1816
|
-
"description": "
|
|
2078
|
+
"name": "create_kpi",
|
|
2079
|
+
"description": "[Write] Create a Key Performance Indicator from ServiceNow data",
|
|
1817
2080
|
"inputSchema": {
|
|
1818
2081
|
"type": "object",
|
|
1819
2082
|
"properties": {
|
|
1820
|
-
"
|
|
2083
|
+
"name": {
|
|
1821
2084
|
"type": "string",
|
|
1822
|
-
"description": "
|
|
2085
|
+
"description": "KPI name"
|
|
2086
|
+
},
|
|
2087
|
+
"table": {
|
|
2088
|
+
"type": "string",
|
|
2089
|
+
"description": "Source table"
|
|
2090
|
+
},
|
|
2091
|
+
"field": {
|
|
2092
|
+
"type": "string",
|
|
2093
|
+
"description": "Aggregate field"
|
|
2094
|
+
},
|
|
2095
|
+
"aggregate": {
|
|
2096
|
+
"type": "string",
|
|
2097
|
+
"description": "Aggregate function: COUNT/AVG/SUM/MIN/MAX"
|
|
2098
|
+
},
|
|
2099
|
+
"conditions": {
|
|
2100
|
+
"type": "string",
|
|
2101
|
+
"description": "Encoded query filter"
|
|
2102
|
+
},
|
|
2103
|
+
"unit": {
|
|
2104
|
+
"type": "string",
|
|
2105
|
+
"description": "Display unit"
|
|
1823
2106
|
}
|
|
1824
2107
|
},
|
|
1825
2108
|
"required": [
|
|
1826
|
-
"
|
|
2109
|
+
"name",
|
|
2110
|
+
"table",
|
|
2111
|
+
"aggregate"
|
|
1827
2112
|
]
|
|
1828
2113
|
}
|
|
1829
2114
|
},
|
|
1830
2115
|
{
|
|
1831
|
-
"name": "
|
|
1832
|
-
"description": "
|
|
2116
|
+
"name": "generate_report",
|
|
2117
|
+
"description": "Generate a branded PDF or PPTX report from capability analysis results. Call this after completing a scan, review, or audit to create a management-ready document with charts, tables, and ServiceNow links. Supports single capability (content) or multiple capabilities (sections) in one combined report.",
|
|
1833
2118
|
"inputSchema": {
|
|
1834
2119
|
"type": "object",
|
|
1835
2120
|
"properties": {
|
|
1836
|
-
"
|
|
2121
|
+
"content": {
|
|
1837
2122
|
"type": "string",
|
|
1838
|
-
"description": "
|
|
2123
|
+
"description": "Full markdown analysis to convert into a branded report (for single capability)"
|
|
2124
|
+
},
|
|
2125
|
+
"sections": {
|
|
2126
|
+
"type": "array",
|
|
2127
|
+
"description": "Multiple capability analyses to combine into one report. Each section becomes a chapter. Use this instead of content for multi-capability reports.",
|
|
2128
|
+
"items": {
|
|
2129
|
+
"type": "object",
|
|
2130
|
+
"properties": {
|
|
2131
|
+
"content": {
|
|
2132
|
+
"type": "string",
|
|
2133
|
+
"description": "Markdown analysis for this capability"
|
|
2134
|
+
},
|
|
2135
|
+
"title": {
|
|
2136
|
+
"type": "string",
|
|
2137
|
+
"description": "Section title (e.g. \"Instance Health Scan\")"
|
|
2138
|
+
},
|
|
2139
|
+
"capability": {
|
|
2140
|
+
"type": "string",
|
|
2141
|
+
"description": "Capability name (e.g. \"scan-health\")"
|
|
2142
|
+
}
|
|
2143
|
+
},
|
|
2144
|
+
"required": [
|
|
2145
|
+
"content",
|
|
2146
|
+
"title"
|
|
2147
|
+
]
|
|
2148
|
+
}
|
|
2149
|
+
},
|
|
2150
|
+
"format": {
|
|
2151
|
+
"type": "string",
|
|
2152
|
+
"enum": [
|
|
2153
|
+
"pdf",
|
|
2154
|
+
"pptx"
|
|
2155
|
+
],
|
|
2156
|
+
"description": "Output format: pdf (branded document) or pptx (slide deck)"
|
|
2157
|
+
},
|
|
2158
|
+
"title": {
|
|
2159
|
+
"type": "string",
|
|
2160
|
+
"description": "Report title (e.g. \"Instance Health Scan\", \"Comprehensive Instance Audit\")"
|
|
2161
|
+
},
|
|
2162
|
+
"capability": {
|
|
2163
|
+
"type": "string",
|
|
2164
|
+
"description": "Capability name that produced the analysis (e.g. \"scan-health\", \"review-code\", \"combined-audit\")"
|
|
1839
2165
|
}
|
|
1840
2166
|
},
|
|
1841
2167
|
"required": [
|
|
1842
|
-
"
|
|
2168
|
+
"format",
|
|
2169
|
+
"title"
|
|
1843
2170
|
]
|
|
1844
2171
|
}
|
|
1845
2172
|
},
|
|
1846
2173
|
{
|
|
1847
|
-
"name": "
|
|
1848
|
-
"description": "List ATF test
|
|
2174
|
+
"name": "list_atf_suites",
|
|
2175
|
+
"description": "List ATF test suites in the instance",
|
|
1849
2176
|
"inputSchema": {
|
|
1850
2177
|
"type": "object",
|
|
1851
2178
|
"properties": {
|
|
1852
|
-
"
|
|
1853
|
-
"type": "
|
|
1854
|
-
"description": "Filter
|
|
2179
|
+
"active": {
|
|
2180
|
+
"type": "boolean",
|
|
2181
|
+
"description": "Filter to active suites only"
|
|
2182
|
+
},
|
|
2183
|
+
"query": {
|
|
2184
|
+
"type": "string",
|
|
2185
|
+
"description": "Additional filter"
|
|
2186
|
+
},
|
|
2187
|
+
"limit": {
|
|
2188
|
+
"type": "number",
|
|
2189
|
+
"description": "Max results (default: 20)"
|
|
2190
|
+
}
|
|
2191
|
+
},
|
|
2192
|
+
"required": []
|
|
2193
|
+
}
|
|
2194
|
+
},
|
|
2195
|
+
{
|
|
2196
|
+
"name": "get_atf_suite",
|
|
2197
|
+
"description": "Get details of a test suite including test count",
|
|
2198
|
+
"inputSchema": {
|
|
2199
|
+
"type": "object",
|
|
2200
|
+
"properties": {
|
|
2201
|
+
"sys_id_or_name": {
|
|
2202
|
+
"type": "string",
|
|
2203
|
+
"description": "Test suite sys_id or name"
|
|
2204
|
+
}
|
|
2205
|
+
},
|
|
2206
|
+
"required": [
|
|
2207
|
+
"sys_id_or_name"
|
|
2208
|
+
]
|
|
2209
|
+
}
|
|
2210
|
+
},
|
|
2211
|
+
{
|
|
2212
|
+
"name": "run_atf_suite",
|
|
2213
|
+
"description": "Execute an ATF test suite (requires ATF_ENABLED=true)",
|
|
2214
|
+
"inputSchema": {
|
|
2215
|
+
"type": "object",
|
|
2216
|
+
"properties": {
|
|
2217
|
+
"sys_id": {
|
|
2218
|
+
"type": "string",
|
|
2219
|
+
"description": "System ID of the test suite"
|
|
2220
|
+
}
|
|
2221
|
+
},
|
|
2222
|
+
"required": [
|
|
2223
|
+
"sys_id"
|
|
2224
|
+
]
|
|
2225
|
+
}
|
|
2226
|
+
},
|
|
2227
|
+
{
|
|
2228
|
+
"name": "list_atf_tests",
|
|
2229
|
+
"description": "List ATF test cases, optionally filtered by suite",
|
|
2230
|
+
"inputSchema": {
|
|
2231
|
+
"type": "object",
|
|
2232
|
+
"properties": {
|
|
2233
|
+
"suite_sys_id": {
|
|
2234
|
+
"type": "string",
|
|
2235
|
+
"description": "Filter by test suite sys_id"
|
|
1855
2236
|
},
|
|
1856
2237
|
"active": {
|
|
1857
2238
|
"type": "boolean",
|
|
@@ -5501,6 +5882,61 @@
|
|
|
5501
5882
|
"required": []
|
|
5502
5883
|
}
|
|
5503
5884
|
},
|
|
5885
|
+
{
|
|
5886
|
+
"name": "send_emergency_broadcast",
|
|
5887
|
+
"description": "[Write] Send emergency broadcast notification to users or groups",
|
|
5888
|
+
"inputSchema": {
|
|
5889
|
+
"type": "object",
|
|
5890
|
+
"properties": {
|
|
5891
|
+
"subject": {
|
|
5892
|
+
"type": "string",
|
|
5893
|
+
"description": "Broadcast subject"
|
|
5894
|
+
},
|
|
5895
|
+
"body": {
|
|
5896
|
+
"type": "string",
|
|
5897
|
+
"description": "Message body"
|
|
5898
|
+
},
|
|
5899
|
+
"recipients": {
|
|
5900
|
+
"type": "string",
|
|
5901
|
+
"description": "Comma-separated user/group sys_ids"
|
|
5902
|
+
},
|
|
5903
|
+
"channels": {
|
|
5904
|
+
"type": "string",
|
|
5905
|
+
"description": "Delivery channels: email,sms,push"
|
|
5906
|
+
}
|
|
5907
|
+
},
|
|
5908
|
+
"required": [
|
|
5909
|
+
"subject",
|
|
5910
|
+
"body",
|
|
5911
|
+
"recipients"
|
|
5912
|
+
]
|
|
5913
|
+
}
|
|
5914
|
+
},
|
|
5915
|
+
{
|
|
5916
|
+
"name": "schedule_notification",
|
|
5917
|
+
"description": "[Write] Schedule a notification for future delivery",
|
|
5918
|
+
"inputSchema": {
|
|
5919
|
+
"type": "object",
|
|
5920
|
+
"properties": {
|
|
5921
|
+
"notification_id": {
|
|
5922
|
+
"type": "string",
|
|
5923
|
+
"description": "Notification rule sys_id"
|
|
5924
|
+
},
|
|
5925
|
+
"schedule": {
|
|
5926
|
+
"type": "string",
|
|
5927
|
+
"description": "Cron expression or ISO date"
|
|
5928
|
+
},
|
|
5929
|
+
"active": {
|
|
5930
|
+
"type": "boolean",
|
|
5931
|
+
"description": "Whether the notification is active"
|
|
5932
|
+
}
|
|
5933
|
+
},
|
|
5934
|
+
"required": [
|
|
5935
|
+
"notification_id",
|
|
5936
|
+
"schedule"
|
|
5937
|
+
]
|
|
5938
|
+
}
|
|
5939
|
+
},
|
|
5504
5940
|
{
|
|
5505
5941
|
"name": "list_pa_indicators",
|
|
5506
5942
|
"description": "List Performance Analytics (PA) indicators (KPIs) available in the instance",
|
|
@@ -6569,6 +7005,49 @@
|
|
|
6569
7005
|
"required": []
|
|
6570
7006
|
}
|
|
6571
7007
|
},
|
|
7008
|
+
{
|
|
7009
|
+
"name": "track_asset_lifecycle",
|
|
7010
|
+
"description": "Track asset lifecycle events and stage transitions",
|
|
7011
|
+
"inputSchema": {
|
|
7012
|
+
"type": "object",
|
|
7013
|
+
"properties": {
|
|
7014
|
+
"asset_id": {
|
|
7015
|
+
"type": "string",
|
|
7016
|
+
"description": "Asset tag or sys_id"
|
|
7017
|
+
},
|
|
7018
|
+
"new_stage": {
|
|
7019
|
+
"type": "string",
|
|
7020
|
+
"description": "Lifecycle stage: in_stock/in_use/in_maintenance/retired/disposed"
|
|
7021
|
+
},
|
|
7022
|
+
"notes": {
|
|
7023
|
+
"type": "string",
|
|
7024
|
+
"description": "Transition notes"
|
|
7025
|
+
}
|
|
7026
|
+
},
|
|
7027
|
+
"required": [
|
|
7028
|
+
"asset_id",
|
|
7029
|
+
"new_stage"
|
|
7030
|
+
]
|
|
7031
|
+
}
|
|
7032
|
+
},
|
|
7033
|
+
{
|
|
7034
|
+
"name": "get_license_optimization",
|
|
7035
|
+
"description": "Analyze software license usage and recommend optimizations",
|
|
7036
|
+
"inputSchema": {
|
|
7037
|
+
"type": "object",
|
|
7038
|
+
"properties": {
|
|
7039
|
+
"software_name": {
|
|
7040
|
+
"type": "string",
|
|
7041
|
+
"description": "Optional filter by software name"
|
|
7042
|
+
},
|
|
7043
|
+
"threshold_pct": {
|
|
7044
|
+
"type": "number",
|
|
7045
|
+
"description": "Usage threshold percentage (default: 80)"
|
|
7046
|
+
}
|
|
7047
|
+
},
|
|
7048
|
+
"required": []
|
|
7049
|
+
}
|
|
7050
|
+
},
|
|
6572
7051
|
{
|
|
6573
7052
|
"name": "list_devops_pipelines",
|
|
6574
7053
|
"description": "List DevOps pipeline configurations registered in ServiceNow",
|
|
@@ -7042,6 +7521,52 @@
|
|
|
7042
7521
|
]
|
|
7043
7522
|
}
|
|
7044
7523
|
},
|
|
7524
|
+
{
|
|
7525
|
+
"name": "ml_similar_incidents",
|
|
7526
|
+
"description": "Find similar past incidents using keyword-based matching. Provide either an incident sys_id (to find similar incidents) or a short_description (for free-text matching). Returns resolved incidents ranked by keyword match count.",
|
|
7527
|
+
"inputSchema": {
|
|
7528
|
+
"type": "object",
|
|
7529
|
+
"properties": {
|
|
7530
|
+
"incident_sys_id": {
|
|
7531
|
+
"type": "string",
|
|
7532
|
+
"description": "Sys_id of an existing incident to find similar ones for"
|
|
7533
|
+
},
|
|
7534
|
+
"short_description": {
|
|
7535
|
+
"type": "string",
|
|
7536
|
+
"description": "Free-text description to match against (required if no sys_id)"
|
|
7537
|
+
},
|
|
7538
|
+
"limit": {
|
|
7539
|
+
"type": "number",
|
|
7540
|
+
"description": "Max results to return (default 10)"
|
|
7541
|
+
}
|
|
7542
|
+
},
|
|
7543
|
+
"required": []
|
|
7544
|
+
}
|
|
7545
|
+
},
|
|
7546
|
+
{
|
|
7547
|
+
"name": "ml_auto_categorize",
|
|
7548
|
+
"description": "Auto-categorize a record based on its description by analysing resolved records of the same table. Queries the last 500 resolved records, groups by category, and matches input keywords to suggest a category.",
|
|
7549
|
+
"inputSchema": {
|
|
7550
|
+
"type": "object",
|
|
7551
|
+
"properties": {
|
|
7552
|
+
"short_description": {
|
|
7553
|
+
"type": "string",
|
|
7554
|
+
"description": "Short description of the record to categorize"
|
|
7555
|
+
},
|
|
7556
|
+
"description": {
|
|
7557
|
+
"type": "string",
|
|
7558
|
+
"description": "Full description (optional, improves accuracy)"
|
|
7559
|
+
},
|
|
7560
|
+
"table": {
|
|
7561
|
+
"type": "string",
|
|
7562
|
+
"description": "Table to analyse (default \"incident\")"
|
|
7563
|
+
}
|
|
7564
|
+
},
|
|
7565
|
+
"required": [
|
|
7566
|
+
"short_description"
|
|
7567
|
+
]
|
|
7568
|
+
}
|
|
7569
|
+
},
|
|
7045
7570
|
{
|
|
7046
7571
|
"name": "list_uib_pages",
|
|
7047
7572
|
"description": "List UI Builder pages and their route configurations",
|
|
@@ -7848,5 +8373,705 @@
|
|
|
7848
8373
|
"table"
|
|
7849
8374
|
]
|
|
7850
8375
|
}
|
|
8376
|
+
},
|
|
8377
|
+
{
|
|
8378
|
+
"name": "fluent_query",
|
|
8379
|
+
"description": "GlideQuery-style fluent query builder. Supports select, where, aggregate (COUNT/AVG/SUM/MIN/MAX), orderBy, limit, and groupBy. Returns records or aggregate results. Example: { table: \"incident\", where: [[\"active\",\"=\",true],[\"priority\",\"<\",3]], select: [\"number\",\"short_description\"], limit: 10 }",
|
|
8380
|
+
"inputSchema": {
|
|
8381
|
+
"type": "object",
|
|
8382
|
+
"properties": {
|
|
8383
|
+
"table": {
|
|
8384
|
+
"type": "string",
|
|
8385
|
+
"description": "Table name (e.g., \"incident\")"
|
|
8386
|
+
},
|
|
8387
|
+
"where": {
|
|
8388
|
+
"type": "array",
|
|
8389
|
+
"description": "Array of conditions: [field, operator, value]. Operators: =, !=, >, >=, <, <=, LIKE, STARTSWITH, CONTAINS, IN, NOT IN, ISEMPTY, ISNOTEMPTY",
|
|
8390
|
+
"items": {
|
|
8391
|
+
"type": "array",
|
|
8392
|
+
"items": {},
|
|
8393
|
+
"minItems": 2,
|
|
8394
|
+
"maxItems": 3
|
|
8395
|
+
}
|
|
8396
|
+
},
|
|
8397
|
+
"orWhere": {
|
|
8398
|
+
"type": "array",
|
|
8399
|
+
"description": "Array of OR conditions (same format as where)",
|
|
8400
|
+
"items": {
|
|
8401
|
+
"type": "array",
|
|
8402
|
+
"items": {},
|
|
8403
|
+
"minItems": 2,
|
|
8404
|
+
"maxItems": 3
|
|
8405
|
+
}
|
|
8406
|
+
},
|
|
8407
|
+
"select": {
|
|
8408
|
+
"type": "array",
|
|
8409
|
+
"description": "Fields to return. Supports dot-walking (e.g., \"caller_id.email\"). If omitted, returns all fields.",
|
|
8410
|
+
"items": {
|
|
8411
|
+
"type": "string"
|
|
8412
|
+
}
|
|
8413
|
+
},
|
|
8414
|
+
"aggregate": {
|
|
8415
|
+
"type": "string",
|
|
8416
|
+
"description": "Aggregate operation: COUNT, AVG, SUM, MIN, MAX",
|
|
8417
|
+
"enum": [
|
|
8418
|
+
"COUNT",
|
|
8419
|
+
"AVG",
|
|
8420
|
+
"SUM",
|
|
8421
|
+
"MIN",
|
|
8422
|
+
"MAX"
|
|
8423
|
+
]
|
|
8424
|
+
},
|
|
8425
|
+
"aggregateField": {
|
|
8426
|
+
"type": "string",
|
|
8427
|
+
"description": "Field to aggregate on (required for AVG, SUM, MIN, MAX)"
|
|
8428
|
+
},
|
|
8429
|
+
"groupBy": {
|
|
8430
|
+
"type": "string",
|
|
8431
|
+
"description": "Field to group results by (for aggregate queries)"
|
|
8432
|
+
},
|
|
8433
|
+
"orderBy": {
|
|
8434
|
+
"type": "string",
|
|
8435
|
+
"description": "Field to sort by. Prefix with \"-\" for descending."
|
|
8436
|
+
},
|
|
8437
|
+
"limit": {
|
|
8438
|
+
"type": "number",
|
|
8439
|
+
"description": "Max records to return (default: 20, max: 200)"
|
|
8440
|
+
},
|
|
8441
|
+
"displayValue": {
|
|
8442
|
+
"type": "boolean",
|
|
8443
|
+
"description": "Return display values instead of internal values (default: false)"
|
|
8444
|
+
}
|
|
8445
|
+
},
|
|
8446
|
+
"required": [
|
|
8447
|
+
"table"
|
|
8448
|
+
]
|
|
8449
|
+
}
|
|
8450
|
+
},
|
|
8451
|
+
{
|
|
8452
|
+
"name": "batch_request",
|
|
8453
|
+
"description": "Execute multiple ServiceNow REST API operations in a single HTTP call. Reduces round-trips by 50-70%. Each operation specifies method, URL path, and optional body. Max 50 operations per batch.",
|
|
8454
|
+
"inputSchema": {
|
|
8455
|
+
"type": "object",
|
|
8456
|
+
"properties": {
|
|
8457
|
+
"operations": {
|
|
8458
|
+
"type": "array",
|
|
8459
|
+
"description": "Array of REST operations to execute",
|
|
8460
|
+
"items": {
|
|
8461
|
+
"type": "object",
|
|
8462
|
+
"properties": {
|
|
8463
|
+
"id": {
|
|
8464
|
+
"type": "string",
|
|
8465
|
+
"description": "Unique operation ID for correlating responses"
|
|
8466
|
+
},
|
|
8467
|
+
"method": {
|
|
8468
|
+
"type": "string",
|
|
8469
|
+
"description": "HTTP method: GET, POST, PATCH, DELETE",
|
|
8470
|
+
"enum": [
|
|
8471
|
+
"GET",
|
|
8472
|
+
"POST",
|
|
8473
|
+
"PATCH",
|
|
8474
|
+
"DELETE"
|
|
8475
|
+
]
|
|
8476
|
+
},
|
|
8477
|
+
"url": {
|
|
8478
|
+
"type": "string",
|
|
8479
|
+
"description": "API URL path (e.g., \"/api/now/table/incident?sysparm_limit=5\")"
|
|
8480
|
+
},
|
|
8481
|
+
"body": {
|
|
8482
|
+
"type": "object",
|
|
8483
|
+
"description": "Request body for POST/PATCH operations"
|
|
8484
|
+
}
|
|
8485
|
+
},
|
|
8486
|
+
"required": [
|
|
8487
|
+
"id",
|
|
8488
|
+
"method",
|
|
8489
|
+
"url"
|
|
8490
|
+
]
|
|
8491
|
+
},
|
|
8492
|
+
"minItems": 1,
|
|
8493
|
+
"maxItems": 50
|
|
8494
|
+
}
|
|
8495
|
+
},
|
|
8496
|
+
"required": [
|
|
8497
|
+
"operations"
|
|
8498
|
+
]
|
|
8499
|
+
}
|
|
8500
|
+
},
|
|
8501
|
+
{
|
|
8502
|
+
"name": "execute_script",
|
|
8503
|
+
"description": "Execute a server-side script on the ServiceNow instance (Background Script). Supports GlideRecord, GlideQuery, GlideAggregate, and all server-side APIs. Returns the script output. Use for complex queries that cannot be expressed via REST. REQUIRES WRITE_ENABLED=true.",
|
|
8504
|
+
"inputSchema": {
|
|
8505
|
+
"type": "object",
|
|
8506
|
+
"properties": {
|
|
8507
|
+
"script": {
|
|
8508
|
+
"type": "string",
|
|
8509
|
+
"description": "Server-side JavaScript to execute. Use gs.print() or gs.info() for output."
|
|
8510
|
+
},
|
|
8511
|
+
"scope": {
|
|
8512
|
+
"type": "string",
|
|
8513
|
+
"description": "Application scope to run in (default: global)"
|
|
8514
|
+
}
|
|
8515
|
+
},
|
|
8516
|
+
"required": [
|
|
8517
|
+
"script"
|
|
8518
|
+
]
|
|
8519
|
+
}
|
|
8520
|
+
},
|
|
8521
|
+
{
|
|
8522
|
+
"name": "fluent_explain",
|
|
8523
|
+
"description": "Run `npx @servicenow/sdk explain <topic>` to get SDK documentation on a topic. Returns explanations of fluent APIs, types, patterns, and best practices.",
|
|
8524
|
+
"inputSchema": {
|
|
8525
|
+
"type": "object",
|
|
8526
|
+
"properties": {
|
|
8527
|
+
"topic": {
|
|
8528
|
+
"type": "string",
|
|
8529
|
+
"description": "Topic to explain (e.g., \"GlideQuery\", \"table API\", \"scoped app\")"
|
|
8530
|
+
}
|
|
8531
|
+
},
|
|
8532
|
+
"required": [
|
|
8533
|
+
"topic"
|
|
8534
|
+
]
|
|
8535
|
+
}
|
|
8536
|
+
},
|
|
8537
|
+
{
|
|
8538
|
+
"name": "fluent_init",
|
|
8539
|
+
"description": "Initialize a new ServiceNow fluent/now-sdk project. Runs `npx @servicenow/sdk init`. REQUIRES FLUENT_ENABLED=true and WRITE_ENABLED=true.",
|
|
8540
|
+
"inputSchema": {
|
|
8541
|
+
"type": "object",
|
|
8542
|
+
"properties": {
|
|
8543
|
+
"name": {
|
|
8544
|
+
"type": "string",
|
|
8545
|
+
"description": "Project name"
|
|
8546
|
+
},
|
|
8547
|
+
"template": {
|
|
8548
|
+
"type": "string",
|
|
8549
|
+
"description": "Project template (optional)"
|
|
8550
|
+
},
|
|
8551
|
+
"directory": {
|
|
8552
|
+
"type": "string",
|
|
8553
|
+
"description": "Target directory (optional, defaults to cwd)"
|
|
8554
|
+
}
|
|
8555
|
+
},
|
|
8556
|
+
"required": [
|
|
8557
|
+
"name"
|
|
8558
|
+
]
|
|
8559
|
+
}
|
|
8560
|
+
},
|
|
8561
|
+
{
|
|
8562
|
+
"name": "fluent_build",
|
|
8563
|
+
"description": "Build a ServiceNow fluent/now-sdk project. Runs `npx @servicenow/sdk build`. REQUIRES FLUENT_ENABLED=true and WRITE_ENABLED=true.",
|
|
8564
|
+
"inputSchema": {
|
|
8565
|
+
"type": "object",
|
|
8566
|
+
"properties": {
|
|
8567
|
+
"directory": {
|
|
8568
|
+
"type": "string",
|
|
8569
|
+
"description": "Project directory (optional, defaults to cwd)"
|
|
8570
|
+
}
|
|
8571
|
+
},
|
|
8572
|
+
"required": []
|
|
8573
|
+
}
|
|
8574
|
+
},
|
|
8575
|
+
{
|
|
8576
|
+
"name": "fluent_validate",
|
|
8577
|
+
"description": "Validate a ServiceNow fluent/now-sdk project. Runs `npx @servicenow/sdk validate`. REQUIRES FLUENT_ENABLED=true.",
|
|
8578
|
+
"inputSchema": {
|
|
8579
|
+
"type": "object",
|
|
8580
|
+
"properties": {
|
|
8581
|
+
"directory": {
|
|
8582
|
+
"type": "string",
|
|
8583
|
+
"description": "Project directory (optional, defaults to cwd)"
|
|
8584
|
+
}
|
|
8585
|
+
},
|
|
8586
|
+
"required": []
|
|
8587
|
+
}
|
|
8588
|
+
},
|
|
8589
|
+
{
|
|
8590
|
+
"name": "create_now_assist_skill",
|
|
8591
|
+
"description": "Create a Now Assist skill definition (requires NOW_ASSIST_ENABLED + WRITE_ENABLED)",
|
|
8592
|
+
"inputSchema": {
|
|
8593
|
+
"type": "object",
|
|
8594
|
+
"properties": {
|
|
8595
|
+
"name": {
|
|
8596
|
+
"type": "string",
|
|
8597
|
+
"description": "Skill name"
|
|
8598
|
+
},
|
|
8599
|
+
"description": {
|
|
8600
|
+
"type": "string",
|
|
8601
|
+
"description": "Skill description"
|
|
8602
|
+
},
|
|
8603
|
+
"input_schema": {
|
|
8604
|
+
"type": "string",
|
|
8605
|
+
"description": "JSON schema string defining the skill input"
|
|
8606
|
+
},
|
|
8607
|
+
"output_schema": {
|
|
8608
|
+
"type": "string",
|
|
8609
|
+
"description": "JSON schema string defining the skill output"
|
|
8610
|
+
},
|
|
8611
|
+
"prompt_template": {
|
|
8612
|
+
"type": "string",
|
|
8613
|
+
"description": "Prompt template for the skill"
|
|
8614
|
+
},
|
|
8615
|
+
"model": {
|
|
8616
|
+
"type": "string",
|
|
8617
|
+
"description": "Optional model identifier to use for this skill"
|
|
8618
|
+
}
|
|
8619
|
+
},
|
|
8620
|
+
"required": [
|
|
8621
|
+
"name",
|
|
8622
|
+
"description",
|
|
8623
|
+
"input_schema",
|
|
8624
|
+
"output_schema",
|
|
8625
|
+
"prompt_template"
|
|
8626
|
+
]
|
|
8627
|
+
}
|
|
8628
|
+
},
|
|
8629
|
+
{
|
|
8630
|
+
"name": "list_now_assist_skills",
|
|
8631
|
+
"description": "List Now Assist skill definitions (requires NOW_ASSIST_ENABLED)",
|
|
8632
|
+
"inputSchema": {
|
|
8633
|
+
"type": "object",
|
|
8634
|
+
"properties": {
|
|
8635
|
+
"active": {
|
|
8636
|
+
"type": "boolean",
|
|
8637
|
+
"description": "Filter by active status"
|
|
8638
|
+
},
|
|
8639
|
+
"limit": {
|
|
8640
|
+
"type": "number",
|
|
8641
|
+
"description": "Max records to return (default 25)"
|
|
8642
|
+
},
|
|
8643
|
+
"query": {
|
|
8644
|
+
"type": "string",
|
|
8645
|
+
"description": "Additional encoded query string"
|
|
8646
|
+
}
|
|
8647
|
+
},
|
|
8648
|
+
"required": []
|
|
8649
|
+
}
|
|
8650
|
+
},
|
|
8651
|
+
{
|
|
8652
|
+
"name": "get_now_assist_skill",
|
|
8653
|
+
"description": "Get a single Now Assist skill definition by sys_id (requires NOW_ASSIST_ENABLED)",
|
|
8654
|
+
"inputSchema": {
|
|
8655
|
+
"type": "object",
|
|
8656
|
+
"properties": {
|
|
8657
|
+
"sys_id": {
|
|
8658
|
+
"type": "string",
|
|
8659
|
+
"description": "System ID of the skill"
|
|
8660
|
+
}
|
|
8661
|
+
},
|
|
8662
|
+
"required": [
|
|
8663
|
+
"sys_id"
|
|
8664
|
+
]
|
|
8665
|
+
}
|
|
8666
|
+
},
|
|
8667
|
+
{
|
|
8668
|
+
"name": "test_now_assist_skill",
|
|
8669
|
+
"description": "Invoke a Now Assist skill with test input to verify behavior (requires NOW_ASSIST_ENABLED)",
|
|
8670
|
+
"inputSchema": {
|
|
8671
|
+
"type": "object",
|
|
8672
|
+
"properties": {
|
|
8673
|
+
"skill_sys_id": {
|
|
8674
|
+
"type": "string",
|
|
8675
|
+
"description": "System ID of the skill to test"
|
|
8676
|
+
},
|
|
8677
|
+
"test_input": {
|
|
8678
|
+
"type": "object",
|
|
8679
|
+
"description": "Test input payload to send to the skill"
|
|
8680
|
+
}
|
|
8681
|
+
},
|
|
8682
|
+
"required": [
|
|
8683
|
+
"skill_sys_id",
|
|
8684
|
+
"test_input"
|
|
8685
|
+
]
|
|
8686
|
+
}
|
|
8687
|
+
},
|
|
8688
|
+
{
|
|
8689
|
+
"name": "create_ai_agent",
|
|
8690
|
+
"description": "Create an AI agent definition with optional auto-generated ACLs (requires NOW_ASSIST_ENABLED + WRITE_ENABLED)",
|
|
8691
|
+
"inputSchema": {
|
|
8692
|
+
"type": "object",
|
|
8693
|
+
"properties": {
|
|
8694
|
+
"name": {
|
|
8695
|
+
"type": "string",
|
|
8696
|
+
"description": "Agent name"
|
|
8697
|
+
},
|
|
8698
|
+
"description": {
|
|
8699
|
+
"type": "string",
|
|
8700
|
+
"description": "Agent description"
|
|
8701
|
+
},
|
|
8702
|
+
"capabilities": {
|
|
8703
|
+
"type": "array",
|
|
8704
|
+
"items": {
|
|
8705
|
+
"type": "string"
|
|
8706
|
+
},
|
|
8707
|
+
"description": "List of capability identifiers the agent supports"
|
|
8708
|
+
},
|
|
8709
|
+
"auto_generate_acls": {
|
|
8710
|
+
"type": "boolean",
|
|
8711
|
+
"description": "Automatically create ACL records for the agent (default true)"
|
|
8712
|
+
}
|
|
8713
|
+
},
|
|
8714
|
+
"required": [
|
|
8715
|
+
"name",
|
|
8716
|
+
"description",
|
|
8717
|
+
"capabilities"
|
|
8718
|
+
]
|
|
8719
|
+
}
|
|
8720
|
+
},
|
|
8721
|
+
{
|
|
8722
|
+
"name": "list_ai_agents",
|
|
8723
|
+
"description": "List AI agent definitions",
|
|
8724
|
+
"inputSchema": {
|
|
8725
|
+
"type": "object",
|
|
8726
|
+
"properties": {
|
|
8727
|
+
"active": {
|
|
8728
|
+
"type": "boolean",
|
|
8729
|
+
"description": "Filter by active status"
|
|
8730
|
+
},
|
|
8731
|
+
"limit": {
|
|
8732
|
+
"type": "number",
|
|
8733
|
+
"description": "Max records to return (default 25)"
|
|
8734
|
+
}
|
|
8735
|
+
},
|
|
8736
|
+
"required": []
|
|
8737
|
+
}
|
|
8738
|
+
},
|
|
8739
|
+
{
|
|
8740
|
+
"name": "get_ai_agent",
|
|
8741
|
+
"description": "Get an AI agent definition and its related ACLs",
|
|
8742
|
+
"inputSchema": {
|
|
8743
|
+
"type": "object",
|
|
8744
|
+
"properties": {
|
|
8745
|
+
"sys_id": {
|
|
8746
|
+
"type": "string",
|
|
8747
|
+
"description": "System ID of the AI agent"
|
|
8748
|
+
}
|
|
8749
|
+
},
|
|
8750
|
+
"required": [
|
|
8751
|
+
"sys_id"
|
|
8752
|
+
]
|
|
8753
|
+
}
|
|
8754
|
+
},
|
|
8755
|
+
{
|
|
8756
|
+
"name": "create_agentic_workflow",
|
|
8757
|
+
"description": "Create an agentic workflow linked to an AI agent (requires NOW_ASSIST_ENABLED + WRITE_ENABLED)",
|
|
8758
|
+
"inputSchema": {
|
|
8759
|
+
"type": "object",
|
|
8760
|
+
"properties": {
|
|
8761
|
+
"name": {
|
|
8762
|
+
"type": "string",
|
|
8763
|
+
"description": "Workflow name"
|
|
8764
|
+
},
|
|
8765
|
+
"description": {
|
|
8766
|
+
"type": "string",
|
|
8767
|
+
"description": "Workflow description"
|
|
8768
|
+
},
|
|
8769
|
+
"agent_sys_id": {
|
|
8770
|
+
"type": "string",
|
|
8771
|
+
"description": "System ID of the parent AI agent"
|
|
8772
|
+
},
|
|
8773
|
+
"steps": {
|
|
8774
|
+
"type": "array",
|
|
8775
|
+
"description": "Ordered list of workflow steps",
|
|
8776
|
+
"items": {
|
|
8777
|
+
"type": "object",
|
|
8778
|
+
"properties": {
|
|
8779
|
+
"name": {
|
|
8780
|
+
"type": "string",
|
|
8781
|
+
"description": "Step name"
|
|
8782
|
+
},
|
|
8783
|
+
"action": {
|
|
8784
|
+
"type": "string",
|
|
8785
|
+
"description": "Action identifier"
|
|
8786
|
+
},
|
|
8787
|
+
"inputs": {
|
|
8788
|
+
"type": "object",
|
|
8789
|
+
"description": "Step input parameters"
|
|
8790
|
+
},
|
|
8791
|
+
"condition": {
|
|
8792
|
+
"type": "string",
|
|
8793
|
+
"description": "Optional condition expression"
|
|
8794
|
+
}
|
|
8795
|
+
},
|
|
8796
|
+
"required": [
|
|
8797
|
+
"name",
|
|
8798
|
+
"action"
|
|
8799
|
+
]
|
|
8800
|
+
}
|
|
8801
|
+
},
|
|
8802
|
+
"trigger_conditions": {
|
|
8803
|
+
"type": "string",
|
|
8804
|
+
"description": "Optional trigger condition expression"
|
|
8805
|
+
}
|
|
8806
|
+
},
|
|
8807
|
+
"required": [
|
|
8808
|
+
"name",
|
|
8809
|
+
"description",
|
|
8810
|
+
"agent_sys_id",
|
|
8811
|
+
"steps"
|
|
8812
|
+
]
|
|
8813
|
+
}
|
|
8814
|
+
},
|
|
8815
|
+
{
|
|
8816
|
+
"name": "cmdb_find_duplicates",
|
|
8817
|
+
"description": "Find duplicate CIs by matching on specified fields (in-memory grouping)",
|
|
8818
|
+
"inputSchema": {
|
|
8819
|
+
"type": "object",
|
|
8820
|
+
"properties": {
|
|
8821
|
+
"ci_class": {
|
|
8822
|
+
"type": "string",
|
|
8823
|
+
"description": "CI class table (default cmdb_ci)"
|
|
8824
|
+
},
|
|
8825
|
+
"match_fields": {
|
|
8826
|
+
"type": "array",
|
|
8827
|
+
"items": {
|
|
8828
|
+
"type": "string"
|
|
8829
|
+
},
|
|
8830
|
+
"description": "Fields to match on for duplicate detection (default: name, serial_number, ip_address)"
|
|
8831
|
+
},
|
|
8832
|
+
"limit": {
|
|
8833
|
+
"type": "number",
|
|
8834
|
+
"description": "Max CIs to scan (default 100)"
|
|
8835
|
+
}
|
|
8836
|
+
},
|
|
8837
|
+
"required": []
|
|
8838
|
+
}
|
|
8839
|
+
},
|
|
8840
|
+
{
|
|
8841
|
+
"name": "cmdb_find_orphans",
|
|
8842
|
+
"description": "Find CIs with no relationships in cmdb_rel_ci",
|
|
8843
|
+
"inputSchema": {
|
|
8844
|
+
"type": "object",
|
|
8845
|
+
"properties": {
|
|
8846
|
+
"ci_class": {
|
|
8847
|
+
"type": "string",
|
|
8848
|
+
"description": "CI class table (default cmdb_ci)"
|
|
8849
|
+
},
|
|
8850
|
+
"limit": {
|
|
8851
|
+
"type": "number",
|
|
8852
|
+
"description": "Max orphan CIs to return (default 50)"
|
|
8853
|
+
}
|
|
8854
|
+
},
|
|
8855
|
+
"required": []
|
|
8856
|
+
}
|
|
8857
|
+
},
|
|
8858
|
+
{
|
|
8859
|
+
"name": "cmdb_find_stale",
|
|
8860
|
+
"description": "Find CIs not updated within a given number of days that are still operational",
|
|
8861
|
+
"inputSchema": {
|
|
8862
|
+
"type": "object",
|
|
8863
|
+
"properties": {
|
|
8864
|
+
"ci_class": {
|
|
8865
|
+
"type": "string",
|
|
8866
|
+
"description": "CI class table (default cmdb_ci)"
|
|
8867
|
+
},
|
|
8868
|
+
"days_threshold": {
|
|
8869
|
+
"type": "number",
|
|
8870
|
+
"description": "Number of days since last update to consider stale (default 90)"
|
|
8871
|
+
},
|
|
8872
|
+
"limit": {
|
|
8873
|
+
"type": "number",
|
|
8874
|
+
"description": "Max stale CIs to return (default 50)"
|
|
8875
|
+
}
|
|
8876
|
+
},
|
|
8877
|
+
"required": []
|
|
8878
|
+
}
|
|
8879
|
+
},
|
|
8880
|
+
{
|
|
8881
|
+
"name": "cmdb_reconcile",
|
|
8882
|
+
"description": "Act on duplicate, stale, or orphan CIs — merge, retire, or remove (requires CMDB_WRITE_ENABLED). Supports dry_run mode.",
|
|
8883
|
+
"inputSchema": {
|
|
8884
|
+
"type": "object",
|
|
8885
|
+
"properties": {
|
|
8886
|
+
"action": {
|
|
8887
|
+
"type": "string",
|
|
8888
|
+
"enum": [
|
|
8889
|
+
"merge_duplicates",
|
|
8890
|
+
"retire_stale",
|
|
8891
|
+
"remove_orphans"
|
|
8892
|
+
],
|
|
8893
|
+
"description": "Reconciliation action to perform"
|
|
8894
|
+
},
|
|
8895
|
+
"targets": {
|
|
8896
|
+
"type": "array",
|
|
8897
|
+
"items": {
|
|
8898
|
+
"type": "string"
|
|
8899
|
+
},
|
|
8900
|
+
"description": "Array of CI sys_ids to act on"
|
|
8901
|
+
},
|
|
8902
|
+
"dry_run": {
|
|
8903
|
+
"type": "boolean",
|
|
8904
|
+
"description": "Preview changes without applying (default true)"
|
|
8905
|
+
}
|
|
8906
|
+
},
|
|
8907
|
+
"required": [
|
|
8908
|
+
"action",
|
|
8909
|
+
"targets"
|
|
8910
|
+
]
|
|
8911
|
+
}
|
|
8912
|
+
},
|
|
8913
|
+
{
|
|
8914
|
+
"name": "create_playbook",
|
|
8915
|
+
"description": "Create a playbook definition with ordered steps that chain tool calls (requires NOW_ASSIST_ENABLED + WRITE_ENABLED)",
|
|
8916
|
+
"inputSchema": {
|
|
8917
|
+
"type": "object",
|
|
8918
|
+
"properties": {
|
|
8919
|
+
"name": {
|
|
8920
|
+
"type": "string",
|
|
8921
|
+
"description": "Playbook name"
|
|
8922
|
+
},
|
|
8923
|
+
"description": {
|
|
8924
|
+
"type": "string",
|
|
8925
|
+
"description": "Playbook description"
|
|
8926
|
+
},
|
|
8927
|
+
"steps": {
|
|
8928
|
+
"type": "array",
|
|
8929
|
+
"description": "Ordered list of playbook steps",
|
|
8930
|
+
"items": {
|
|
8931
|
+
"type": "object",
|
|
8932
|
+
"properties": {
|
|
8933
|
+
"tool_name": {
|
|
8934
|
+
"type": "string",
|
|
8935
|
+
"description": "Name of the tool to invoke"
|
|
8936
|
+
},
|
|
8937
|
+
"args_template": {
|
|
8938
|
+
"type": "object",
|
|
8939
|
+
"description": "Arguments template — can reference {{context.key}} or {{steps[N].result.key}}"
|
|
8940
|
+
},
|
|
8941
|
+
"condition": {
|
|
8942
|
+
"type": "string",
|
|
8943
|
+
"description": "Optional JS-like condition expression. Step runs only when truthy."
|
|
8944
|
+
},
|
|
8945
|
+
"on_error": {
|
|
8946
|
+
"type": "string",
|
|
8947
|
+
"enum": [
|
|
8948
|
+
"stop",
|
|
8949
|
+
"skip",
|
|
8950
|
+
"continue"
|
|
8951
|
+
],
|
|
8952
|
+
"description": "Error handling: stop (default), skip this step, or continue to next"
|
|
8953
|
+
}
|
|
8954
|
+
},
|
|
8955
|
+
"required": [
|
|
8956
|
+
"tool_name",
|
|
8957
|
+
"args_template"
|
|
8958
|
+
]
|
|
8959
|
+
}
|
|
8960
|
+
}
|
|
8961
|
+
},
|
|
8962
|
+
"required": [
|
|
8963
|
+
"name",
|
|
8964
|
+
"description",
|
|
8965
|
+
"steps"
|
|
8966
|
+
]
|
|
8967
|
+
}
|
|
8968
|
+
},
|
|
8969
|
+
{
|
|
8970
|
+
"name": "execute_playbook",
|
|
8971
|
+
"description": "Execute a playbook step by step, passing results forward through context (requires NOW_ASSIST_ENABLED). Supports dry_run.",
|
|
8972
|
+
"inputSchema": {
|
|
8973
|
+
"type": "object",
|
|
8974
|
+
"properties": {
|
|
8975
|
+
"playbook": {
|
|
8976
|
+
"type": "object",
|
|
8977
|
+
"description": "Playbook object with name, description, and steps array",
|
|
8978
|
+
"properties": {
|
|
8979
|
+
"name": {
|
|
8980
|
+
"type": "string"
|
|
8981
|
+
},
|
|
8982
|
+
"description": {
|
|
8983
|
+
"type": "string"
|
|
8984
|
+
},
|
|
8985
|
+
"steps": {
|
|
8986
|
+
"type": "array",
|
|
8987
|
+
"items": {
|
|
8988
|
+
"type": "object",
|
|
8989
|
+
"properties": {
|
|
8990
|
+
"tool_name": {
|
|
8991
|
+
"type": "string"
|
|
8992
|
+
},
|
|
8993
|
+
"args_template": {
|
|
8994
|
+
"type": "object"
|
|
8995
|
+
},
|
|
8996
|
+
"condition": {
|
|
8997
|
+
"type": "string"
|
|
8998
|
+
},
|
|
8999
|
+
"on_error": {
|
|
9000
|
+
"type": "string",
|
|
9001
|
+
"enum": [
|
|
9002
|
+
"stop",
|
|
9003
|
+
"skip",
|
|
9004
|
+
"continue"
|
|
9005
|
+
]
|
|
9006
|
+
}
|
|
9007
|
+
},
|
|
9008
|
+
"required": [
|
|
9009
|
+
"tool_name",
|
|
9010
|
+
"args_template"
|
|
9011
|
+
]
|
|
9012
|
+
}
|
|
9013
|
+
}
|
|
9014
|
+
},
|
|
9015
|
+
"required": [
|
|
9016
|
+
"steps"
|
|
9017
|
+
]
|
|
9018
|
+
},
|
|
9019
|
+
"context": {
|
|
9020
|
+
"type": "object",
|
|
9021
|
+
"description": "Initial context key-value pairs available to all steps"
|
|
9022
|
+
},
|
|
9023
|
+
"dry_run": {
|
|
9024
|
+
"type": "boolean",
|
|
9025
|
+
"description": "Preview execution plan without invoking tools (default true)"
|
|
9026
|
+
}
|
|
9027
|
+
},
|
|
9028
|
+
"required": [
|
|
9029
|
+
"playbook"
|
|
9030
|
+
]
|
|
9031
|
+
}
|
|
9032
|
+
},
|
|
9033
|
+
{
|
|
9034
|
+
"name": "list_playbooks",
|
|
9035
|
+
"description": "List stored playbook definitions from sys_hub_action_type_definition",
|
|
9036
|
+
"inputSchema": {
|
|
9037
|
+
"type": "object",
|
|
9038
|
+
"properties": {
|
|
9039
|
+
"limit": {
|
|
9040
|
+
"type": "number",
|
|
9041
|
+
"description": "Max records to return (default 25)"
|
|
9042
|
+
}
|
|
9043
|
+
},
|
|
9044
|
+
"required": []
|
|
9045
|
+
}
|
|
9046
|
+
},
|
|
9047
|
+
{
|
|
9048
|
+
"name": "discover_table",
|
|
9049
|
+
"description": "Discover a ServiceNow table schema and register dynamic CRUD tools for it. After discovery, new tools become available: dynamic_query_<table>, dynamic_get_<table>, dynamic_create_<table>, dynamic_update_<table>, dynamic_delete_<table>. Schemas are cached for 30 minutes.",
|
|
9050
|
+
"inputSchema": {
|
|
9051
|
+
"type": "object",
|
|
9052
|
+
"properties": {
|
|
9053
|
+
"table": {
|
|
9054
|
+
"type": "string",
|
|
9055
|
+
"description": "Table name to discover (e.g., \"u_custom_table\")"
|
|
9056
|
+
},
|
|
9057
|
+
"operations": {
|
|
9058
|
+
"type": "array",
|
|
9059
|
+
"description": "Operations to enable: query, get, create, update, delete. Default: all.",
|
|
9060
|
+
"items": {
|
|
9061
|
+
"type": "string",
|
|
9062
|
+
"enum": [
|
|
9063
|
+
"query",
|
|
9064
|
+
"get",
|
|
9065
|
+
"create",
|
|
9066
|
+
"update",
|
|
9067
|
+
"delete"
|
|
9068
|
+
]
|
|
9069
|
+
}
|
|
9070
|
+
}
|
|
9071
|
+
},
|
|
9072
|
+
"required": [
|
|
9073
|
+
"table"
|
|
9074
|
+
]
|
|
9075
|
+
}
|
|
7851
9076
|
}
|
|
7852
9077
|
]
|