node-autotask 0.80.0 → 0.82.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/CHANGELOG.md +12 -0
- package/MCP_TOOL_CATALOG.json +265 -9
- package/README.md +1 -1
- package/capabilities.json +959 -7
- package/dist/capabilities-data.js +958 -6
- package/dist/capabilities.cjs +4 -4
- package/dist/capabilities.js +1 -1
- package/dist/{chunk-TMJX6NTZ.cjs → chunk-5UR4L7SB.cjs} +3 -3
- package/dist/{chunk-GRJE3IUU.js → chunk-7PQKFGTI.js} +2 -2
- package/dist/{chunk-3VW75XKV.cjs → chunk-EFINBMXE.cjs} +311 -11
- package/dist/{chunk-R4MKUN4N.js → chunk-EQ6LOII6.js} +3 -3
- package/dist/{chunk-R6N7S6LC.js → chunk-FYDLVUSN.js} +4 -2
- package/dist/{chunk-JITS5NKE.js → chunk-HZGCJ2CQ.js} +306 -6
- package/dist/{chunk-OVP7IH6K.cjs → chunk-TZL45TYE.cjs} +199 -199
- package/dist/{chunk-Z5QCH7JA.cjs → chunk-XJQYDJKB.cjs} +32 -30
- package/dist/{index-mFUX-x9D.d.ts → index-CW3PJPqH.d.ts} +4 -2
- package/dist/{index-CZaFISYn.d.cts → index-Dt1KqDEQ.d.cts} +4 -2
- package/dist/{index-BBc96jwe.d.cts → index-inEhFJaU.d.cts} +88 -1
- package/dist/{index-BBc96jwe.d.ts → index-inEhFJaU.d.ts} +88 -1
- package/dist/index.cjs +84 -84
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +5 -5
- package/dist/operations/index.cjs +51 -51
- package/dist/operations/index.d.cts +4 -4
- package/dist/operations/index.d.ts +4 -4
- package/dist/operations/index.js +2 -2
- package/dist/pool.cjs +12 -12
- package/dist/pool.d.cts +1 -1
- package/dist/pool.d.ts +1 -1
- package/dist/pool.js +4 -4
- package/dist/resources/index.cjs +27 -27
- package/dist/resources/index.d.cts +2 -2
- package/dist/resources/index.d.ts +2 -2
- package/dist/resources/index.js +3 -3
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/docs/API.md +4 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.82.0] - 2026-11-19
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Sales order file attachments: global query/count/metadata and sales-order-scoped get/create/delete, with validated file inputs, fresh previews and destructive confirmation. Opportunity and author fields remain response associations; contact author overrides, nesting, updates and exact-parent deduplication are unsupported. Vendor permissions and upload limits remain conditional (#467, #464).
|
|
15
|
+
|
|
16
|
+
## [0.81.0] - 2026-11-19
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
- Contract note file attachments: global query/count/metadata and note-scoped get/create/delete with file validation, preview and destructive confirmation. Contract and note IDs remain distinct; contact author overrides, nesting, updates and ambiguous deduplication are unsupported. Vendor permissions and upload limits remain conditional (#467, #464).
|
|
21
|
+
|
|
10
22
|
## [0.80.0] - 2026-11-19
|
|
11
23
|
|
|
12
24
|
### Added
|
package/MCP_TOOL_CATALOG.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"generatedBy": "scripts/build-tool-catalog.mjs",
|
|
3
|
-
"generatedAt": "2026-11-
|
|
4
|
-
"planHash": "
|
|
3
|
+
"generatedAt": "2026-11-19T11:13:30.546Z",
|
|
4
|
+
"planHash": "2de751fe81574eda1520f8db24e6f947cab79b1231aeeb39da8e379bf50d7308",
|
|
5
5
|
"metaTools": [
|
|
6
6
|
{
|
|
7
7
|
"name": "autotask_catalog",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
{
|
|
52
52
|
"name": "autotask_read",
|
|
53
53
|
"title": "Read One Registry Operation (read mode)",
|
|
54
|
-
"description": "Route an effect=read registry operation by its exact name (never fuzzy, never a tool name): the
|
|
54
|
+
"description": "Route an effect=read registry operation by its exact name (never fuzzy, never a tool name): the 419 field/entity/UDF-info reads (getEntityInfo/getFieldInfo/getUdfInfo) have no dedicated tool and ride this one, and any read op is routable. For field discovery use operations.fieldCatalog (compact) instead of per-resource getFieldInfo (full dump). Read-only by construction — every op it can route is effect=read (zero mutating requests), and a write or delete op is refused BEFORE any request (cross-mode refusal; the message names the correct tool). Reads have no dry run (a read with dry_run: true is refused). Harness approval policy: approve every tool with readOnlyHint !== true (exactly 279 today); the 650 readOnlyHint: true tools — including this one — are safe ungated; the 68 destructiveHint: true tools (67 dedicated delete tools + autotask_delete) require confirm === the operation key. Migration: autotask_invoke is REPLACED by autotask_read/autotask_write/autotask_delete — update harness config. For query/count ops args[0] is a params object (filter/limit); call autotask_describe first for the exact arg shape and filter grammar. The argument set is CLOSED at the top level: an unknown argument is refused before any request, with a typed error naming the key and the valid keys.",
|
|
55
55
|
"input": {
|
|
56
56
|
"operation": {
|
|
57
57
|
"type": "string",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
{
|
|
72
72
|
"name": "autotask_write",
|
|
73
73
|
"title": "Write One Registry Operation (write mode)",
|
|
74
|
-
"description": "Route an effect=write registry operation by its exact name (never fuzzy, never a tool name), dry-run-first: the first call always travels dry_run: true (the pinned DryRunResult envelope, simulated: true — the mutating request is never issued); pass dry_run: false to apply. A read or delete op is refused BEFORE any request (cross-mode refusal; the message names the correct tool). The 2 approval-gated writes (configuration_items.moveConfigurationItem, contacts.moveToCompany) additionally require confirm === the operation key, in BOTH dry-run and apply mode. Harness approval policy: this tool is one of the
|
|
74
|
+
"description": "Route an effect=write registry operation by its exact name (never fuzzy, never a tool name), dry-run-first: the first call always travels dry_run: true (the pinned DryRunResult envelope, simulated: true — the mutating request is never issued); pass dry_run: false to apply. A read or delete op is refused BEFORE any request (cross-mode refusal; the message names the correct tool). The 2 approval-gated writes (configuration_items.moveConfigurationItem, contacts.moveToCompany) additionally require confirm === the operation key, in BOTH dry-run and apply mode. Harness approval policy: this tool is one of the 279 tools that require approval (readOnlyHint !== true); the 650 readOnlyHint: true tools are safe ungated, and the 68 destructiveHint: true tools (67 dedicated delete tools + autotask_delete) require confirm === the operation key. Migration: autotask_invoke is REPLACED by autotask_read/autotask_write/autotask_delete — update harness config. For query/count ops args[0] is a params object (filter/limit); call autotask_describe first for the exact arg shape and filter grammar. The argument set is CLOSED at the top level: an unknown argument is refused before any request, with a typed error naming the key and the valid keys.",
|
|
75
75
|
"input": {
|
|
76
76
|
"operation": {
|
|
77
77
|
"type": "string",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
{
|
|
102
102
|
"name": "autotask_delete",
|
|
103
103
|
"title": "Delete One Registry Operation (delete mode)",
|
|
104
|
-
"description": "Route an effect=destructive (delete) registry operation by its exact name (never fuzzy, never a tool name), dry-run-first: the first call always travels dry_run: true (the pinned DryRunResult envelope, simulated: true); pass dry_run: false to apply. confirm === the operation key is REQUIRED for every delete (all
|
|
104
|
+
"description": "Route an effect=destructive (delete) registry operation by its exact name (never fuzzy, never a tool name), dry-run-first: the first call always travels dry_run: true (the pinned DryRunResult envelope, simulated: true); pass dry_run: false to apply. confirm === the operation key is REQUIRED for every delete (all 67), in BOTH dry-run and apply mode — the deliberate act is the call, not the delete. A read or write op is refused BEFORE any request (cross-mode refusal; the message names the correct tool). Harness approval policy: this tool is one of the 68 destructiveHint: true tools that require approval + confirm; approve every tool with readOnlyHint !== true (exactly 279 today); the 650 readOnlyHint: true tools are safe ungated. Migration: autotask_invoke is REPLACED by autotask_read/autotask_write/autotask_delete — update harness config. The argument set is CLOSED at the top level: an unknown argument is refused before any request, with a typed error naming the key and the valid keys.",
|
|
105
105
|
"input": {
|
|
106
106
|
"operation": {
|
|
107
107
|
"type": "string",
|
|
@@ -7875,6 +7875,134 @@
|
|
|
7875
7875
|
"reachReason": null,
|
|
7876
7876
|
"boundedAlternative": null
|
|
7877
7877
|
},
|
|
7878
|
+
{
|
|
7879
|
+
"operation": "sales_order_attachments.count",
|
|
7880
|
+
"core": false,
|
|
7881
|
+
"tool": "autotask_salesOrderAttachment_count",
|
|
7882
|
+
"purpose": "Count sales order attachment records matching a JSON filter. Use salesOrderID for sales-order scope.",
|
|
7883
|
+
"preferredWhen": null,
|
|
7884
|
+
"backingOperation": "sales_order_attachments.count",
|
|
7885
|
+
"effect": "read",
|
|
7886
|
+
"dryRunFirst": false,
|
|
7887
|
+
"confirm": false,
|
|
7888
|
+
"requiredArgs": [],
|
|
7889
|
+
"tier": "extended",
|
|
7890
|
+
"reachable": true,
|
|
7891
|
+
"reach": "dedicated tool",
|
|
7892
|
+
"reachReason": null,
|
|
7893
|
+
"boundedAlternative": null
|
|
7894
|
+
},
|
|
7895
|
+
{
|
|
7896
|
+
"operation": "sales_order_attachments.create",
|
|
7897
|
+
"core": false,
|
|
7898
|
+
"tool": "autotask_salesOrderAttachment_create",
|
|
7899
|
+
"purpose": "Create a file attachment under a sales order.",
|
|
7900
|
+
"preferredWhen": "Add a new attachment; existing attachments cannot be updated. Replace through separately governed delete and create actions.",
|
|
7901
|
+
"backingOperation": "sales_order_attachments.create",
|
|
7902
|
+
"effect": "write",
|
|
7903
|
+
"dryRunFirst": true,
|
|
7904
|
+
"confirm": false,
|
|
7905
|
+
"requiredArgs": [
|
|
7906
|
+
"parentId",
|
|
7907
|
+
"data"
|
|
7908
|
+
],
|
|
7909
|
+
"tier": "extended",
|
|
7910
|
+
"reachable": true,
|
|
7911
|
+
"reach": "dedicated tool",
|
|
7912
|
+
"reachReason": null,
|
|
7913
|
+
"boundedAlternative": null
|
|
7914
|
+
},
|
|
7915
|
+
{
|
|
7916
|
+
"operation": "sales_order_attachments.delete",
|
|
7917
|
+
"core": false,
|
|
7918
|
+
"tool": "autotask_salesOrderAttachment_delete",
|
|
7919
|
+
"purpose": "Delete an attachment under a sales order.",
|
|
7920
|
+
"preferredWhen": null,
|
|
7921
|
+
"backingOperation": "sales_order_attachments.delete",
|
|
7922
|
+
"effect": "destructive",
|
|
7923
|
+
"dryRunFirst": true,
|
|
7924
|
+
"confirm": true,
|
|
7925
|
+
"requiredArgs": [
|
|
7926
|
+
"parentId",
|
|
7927
|
+
"id"
|
|
7928
|
+
],
|
|
7929
|
+
"tier": "extended",
|
|
7930
|
+
"reachable": true,
|
|
7931
|
+
"reach": "dedicated tool",
|
|
7932
|
+
"reachReason": null,
|
|
7933
|
+
"boundedAlternative": null
|
|
7934
|
+
},
|
|
7935
|
+
{
|
|
7936
|
+
"operation": "sales_order_attachments.get",
|
|
7937
|
+
"core": false,
|
|
7938
|
+
"tool": "autotask_salesOrderAttachment_get",
|
|
7939
|
+
"purpose": "Get one SalesOrderAttachment by id.",
|
|
7940
|
+
"preferredWhen": "Use a known attachment id; query the scoped collection to discover ids.",
|
|
7941
|
+
"backingOperation": "sales_order_attachments.get",
|
|
7942
|
+
"effect": "read",
|
|
7943
|
+
"dryRunFirst": false,
|
|
7944
|
+
"confirm": false,
|
|
7945
|
+
"requiredArgs": [
|
|
7946
|
+
"parentId",
|
|
7947
|
+
"id"
|
|
7948
|
+
],
|
|
7949
|
+
"tier": "extended",
|
|
7950
|
+
"reachable": true,
|
|
7951
|
+
"reach": "dedicated tool",
|
|
7952
|
+
"reachReason": null,
|
|
7953
|
+
"boundedAlternative": null
|
|
7954
|
+
},
|
|
7955
|
+
{
|
|
7956
|
+
"operation": "sales_order_attachments.getEntityInfo",
|
|
7957
|
+
"core": false,
|
|
7958
|
+
"tool": null,
|
|
7959
|
+
"purpose": "Get the SalesOrderAttachment capability metadata (canCreate/canUpdate/hasUserDefinedFields/...).",
|
|
7960
|
+
"preferredWhen": null,
|
|
7961
|
+
"backingOperation": "sales_order_attachments.getEntityInfo",
|
|
7962
|
+
"effect": "read",
|
|
7963
|
+
"dryRunFirst": false,
|
|
7964
|
+
"confirm": false,
|
|
7965
|
+
"requiredArgs": [],
|
|
7966
|
+
"tier": "extended",
|
|
7967
|
+
"reachable": true,
|
|
7968
|
+
"reach": "autotask_read (exact operation name; effect=read — read-only; zero mutating requests)",
|
|
7969
|
+
"reachReason": "no dedicated tool — the op is still discoverable and invocable by exact name",
|
|
7970
|
+
"boundedAlternative": null
|
|
7971
|
+
},
|
|
7972
|
+
{
|
|
7973
|
+
"operation": "sales_order_attachments.getFieldInfo",
|
|
7974
|
+
"core": false,
|
|
7975
|
+
"tool": null,
|
|
7976
|
+
"purpose": "Get the SalesOrderAttachment field catalog (types, picklists, required, maxLength) — the full raw field dump (the largest read of the info trio; compact discovery: operations.fieldCatalog).",
|
|
7977
|
+
"preferredWhen": null,
|
|
7978
|
+
"backingOperation": "sales_order_attachments.getFieldInfo",
|
|
7979
|
+
"effect": "read",
|
|
7980
|
+
"dryRunFirst": false,
|
|
7981
|
+
"confirm": false,
|
|
7982
|
+
"requiredArgs": [],
|
|
7983
|
+
"tier": "extended",
|
|
7984
|
+
"reachable": true,
|
|
7985
|
+
"reach": "autotask_read (exact operation name; effect=read — read-only; zero mutating requests)",
|
|
7986
|
+
"reachReason": "no dedicated tool — the op is still discoverable and invocable by exact name",
|
|
7987
|
+
"boundedAlternative": null
|
|
7988
|
+
},
|
|
7989
|
+
{
|
|
7990
|
+
"operation": "sales_order_attachments.query",
|
|
7991
|
+
"core": false,
|
|
7992
|
+
"tool": "autotask_salesOrderAttachment_query",
|
|
7993
|
+
"purpose": "Query SalesOrderAttachment records with a JSON filter.",
|
|
7994
|
+
"preferredWhen": "Default for filtered reads (the bounded query op). queryAll is the unbounded raw walk — only when you need the ENTIRE set and accept a large payload; default to the bounded query op. Prefer an includeFields subset over the full model (field names via operations.fieldCatalog). latest: N is the latest-N rows (id-descending) when the newest rows are the goal (the vendor has no sort — count-anchored, docs/API.md §4). Prefer a hand-listed includeFields for common narrow reads (removed the closed fieldsPreset presets — the v1 billing_join field list for billing_items.query, if you need it, is: companyID, ticketID, projectID, timeEntryID, contractServiceID, contractID, billingCodeID, expenseItemID, itemDate, quantity, rate, extendedPrice, totalAmount, nonBillable); noteChars: N caps the untrusted-class free-text fields of the resource (notes/descriptions/UDF prose) to N chars each with the explicit … [+N chars truncated] marker (opt-in; the raw result when absent).",
|
|
7995
|
+
"backingOperation": "sales_order_attachments.query",
|
|
7996
|
+
"effect": "read",
|
|
7997
|
+
"dryRunFirst": false,
|
|
7998
|
+
"confirm": false,
|
|
7999
|
+
"requiredArgs": [],
|
|
8000
|
+
"tier": "extended",
|
|
8001
|
+
"reachable": true,
|
|
8002
|
+
"reach": "dedicated tool",
|
|
8003
|
+
"reachReason": null,
|
|
8004
|
+
"boundedAlternative": null
|
|
8005
|
+
},
|
|
7878
8006
|
{
|
|
7879
8007
|
"operation": "sales_orders.count",
|
|
7880
8008
|
"core": false,
|
|
@@ -16979,6 +17107,134 @@
|
|
|
16979
17107
|
"reachReason": null,
|
|
16980
17108
|
"boundedAlternative": null
|
|
16981
17109
|
},
|
|
17110
|
+
{
|
|
17111
|
+
"operation": "contract_note_attachments.count",
|
|
17112
|
+
"core": false,
|
|
17113
|
+
"tool": "autotask_contractNoteAttachment_count",
|
|
17114
|
+
"purpose": "Count contract note attachment records matching a JSON filter. Use contractNoteID for note scope.",
|
|
17115
|
+
"preferredWhen": null,
|
|
17116
|
+
"backingOperation": "contract_note_attachments.count",
|
|
17117
|
+
"effect": "read",
|
|
17118
|
+
"dryRunFirst": false,
|
|
17119
|
+
"confirm": false,
|
|
17120
|
+
"requiredArgs": [],
|
|
17121
|
+
"tier": "extended",
|
|
17122
|
+
"reachable": true,
|
|
17123
|
+
"reach": "dedicated tool",
|
|
17124
|
+
"reachReason": null,
|
|
17125
|
+
"boundedAlternative": null
|
|
17126
|
+
},
|
|
17127
|
+
{
|
|
17128
|
+
"operation": "contract_note_attachments.create",
|
|
17129
|
+
"core": false,
|
|
17130
|
+
"tool": "autotask_contractNoteAttachment_create",
|
|
17131
|
+
"purpose": "Create a file attachment under a contract note.",
|
|
17132
|
+
"preferredWhen": "Add a new attachment; existing attachments cannot be updated. Replace through separately governed delete and create actions.",
|
|
17133
|
+
"backingOperation": "contract_note_attachments.create",
|
|
17134
|
+
"effect": "write",
|
|
17135
|
+
"dryRunFirst": true,
|
|
17136
|
+
"confirm": false,
|
|
17137
|
+
"requiredArgs": [
|
|
17138
|
+
"parentId",
|
|
17139
|
+
"data"
|
|
17140
|
+
],
|
|
17141
|
+
"tier": "extended",
|
|
17142
|
+
"reachable": true,
|
|
17143
|
+
"reach": "dedicated tool",
|
|
17144
|
+
"reachReason": null,
|
|
17145
|
+
"boundedAlternative": null
|
|
17146
|
+
},
|
|
17147
|
+
{
|
|
17148
|
+
"operation": "contract_note_attachments.delete",
|
|
17149
|
+
"core": false,
|
|
17150
|
+
"tool": "autotask_contractNoteAttachment_delete",
|
|
17151
|
+
"purpose": "Delete an attachment under a contract note.",
|
|
17152
|
+
"preferredWhen": null,
|
|
17153
|
+
"backingOperation": "contract_note_attachments.delete",
|
|
17154
|
+
"effect": "destructive",
|
|
17155
|
+
"dryRunFirst": true,
|
|
17156
|
+
"confirm": true,
|
|
17157
|
+
"requiredArgs": [
|
|
17158
|
+
"parentId",
|
|
17159
|
+
"id"
|
|
17160
|
+
],
|
|
17161
|
+
"tier": "extended",
|
|
17162
|
+
"reachable": true,
|
|
17163
|
+
"reach": "dedicated tool",
|
|
17164
|
+
"reachReason": null,
|
|
17165
|
+
"boundedAlternative": null
|
|
17166
|
+
},
|
|
17167
|
+
{
|
|
17168
|
+
"operation": "contract_note_attachments.get",
|
|
17169
|
+
"core": false,
|
|
17170
|
+
"tool": "autotask_contractNoteAttachment_get",
|
|
17171
|
+
"purpose": "Get one ContractNoteAttachment by id.",
|
|
17172
|
+
"preferredWhen": "Use a known attachment id; query the scoped collection to discover ids.",
|
|
17173
|
+
"backingOperation": "contract_note_attachments.get",
|
|
17174
|
+
"effect": "read",
|
|
17175
|
+
"dryRunFirst": false,
|
|
17176
|
+
"confirm": false,
|
|
17177
|
+
"requiredArgs": [
|
|
17178
|
+
"parentId",
|
|
17179
|
+
"id"
|
|
17180
|
+
],
|
|
17181
|
+
"tier": "extended",
|
|
17182
|
+
"reachable": true,
|
|
17183
|
+
"reach": "dedicated tool",
|
|
17184
|
+
"reachReason": null,
|
|
17185
|
+
"boundedAlternative": null
|
|
17186
|
+
},
|
|
17187
|
+
{
|
|
17188
|
+
"operation": "contract_note_attachments.getEntityInfo",
|
|
17189
|
+
"core": false,
|
|
17190
|
+
"tool": null,
|
|
17191
|
+
"purpose": "Get the ContractNoteAttachment capability metadata (canCreate/canUpdate/hasUserDefinedFields/...).",
|
|
17192
|
+
"preferredWhen": null,
|
|
17193
|
+
"backingOperation": "contract_note_attachments.getEntityInfo",
|
|
17194
|
+
"effect": "read",
|
|
17195
|
+
"dryRunFirst": false,
|
|
17196
|
+
"confirm": false,
|
|
17197
|
+
"requiredArgs": [],
|
|
17198
|
+
"tier": "extended",
|
|
17199
|
+
"reachable": true,
|
|
17200
|
+
"reach": "autotask_read (exact operation name; effect=read — read-only; zero mutating requests)",
|
|
17201
|
+
"reachReason": "no dedicated tool — the op is still discoverable and invocable by exact name",
|
|
17202
|
+
"boundedAlternative": null
|
|
17203
|
+
},
|
|
17204
|
+
{
|
|
17205
|
+
"operation": "contract_note_attachments.getFieldInfo",
|
|
17206
|
+
"core": false,
|
|
17207
|
+
"tool": null,
|
|
17208
|
+
"purpose": "Get the ContractNoteAttachment field catalog (types, picklists, required, maxLength) — the full raw field dump (the largest read of the info trio; compact discovery: operations.fieldCatalog).",
|
|
17209
|
+
"preferredWhen": null,
|
|
17210
|
+
"backingOperation": "contract_note_attachments.getFieldInfo",
|
|
17211
|
+
"effect": "read",
|
|
17212
|
+
"dryRunFirst": false,
|
|
17213
|
+
"confirm": false,
|
|
17214
|
+
"requiredArgs": [],
|
|
17215
|
+
"tier": "extended",
|
|
17216
|
+
"reachable": true,
|
|
17217
|
+
"reach": "autotask_read (exact operation name; effect=read — read-only; zero mutating requests)",
|
|
17218
|
+
"reachReason": "no dedicated tool — the op is still discoverable and invocable by exact name",
|
|
17219
|
+
"boundedAlternative": null
|
|
17220
|
+
},
|
|
17221
|
+
{
|
|
17222
|
+
"operation": "contract_note_attachments.query",
|
|
17223
|
+
"core": false,
|
|
17224
|
+
"tool": "autotask_contractNoteAttachment_query",
|
|
17225
|
+
"purpose": "Query ContractNoteAttachment records with a JSON filter.",
|
|
17226
|
+
"preferredWhen": "Default for filtered reads (the bounded query op). queryAll is the unbounded raw walk — only when you need the ENTIRE set and accept a large payload; default to the bounded query op. Prefer an includeFields subset over the full model (field names via operations.fieldCatalog). latest: N is the latest-N rows (id-descending) when the newest rows are the goal (the vendor has no sort — count-anchored, docs/API.md §4). Prefer a hand-listed includeFields for common narrow reads (removed the closed fieldsPreset presets — the v1 billing_join field list for billing_items.query, if you need it, is: companyID, ticketID, projectID, timeEntryID, contractServiceID, contractID, billingCodeID, expenseItemID, itemDate, quantity, rate, extendedPrice, totalAmount, nonBillable); noteChars: N caps the untrusted-class free-text fields of the resource (notes/descriptions/UDF prose) to N chars each with the explicit … [+N chars truncated] marker (opt-in; the raw result when absent).",
|
|
17227
|
+
"backingOperation": "contract_note_attachments.query",
|
|
17228
|
+
"effect": "read",
|
|
17229
|
+
"dryRunFirst": false,
|
|
17230
|
+
"confirm": false,
|
|
17231
|
+
"requiredArgs": [],
|
|
17232
|
+
"tier": "extended",
|
|
17233
|
+
"reachable": true,
|
|
17234
|
+
"reach": "dedicated tool",
|
|
17235
|
+
"reachReason": null,
|
|
17236
|
+
"boundedAlternative": null
|
|
17237
|
+
},
|
|
16982
17238
|
{
|
|
16983
17239
|
"operation": "contract_notes.count",
|
|
16984
17240
|
"core": false,
|
|
@@ -24439,11 +24695,11 @@
|
|
|
24439
24695
|
}
|
|
24440
24696
|
],
|
|
24441
24697
|
"counts": {
|
|
24442
|
-
"registryOperations":
|
|
24698
|
+
"registryOperations": 1343,
|
|
24443
24699
|
"coreOperations": 10,
|
|
24444
|
-
"catalogRows":
|
|
24445
|
-
"withTool":
|
|
24446
|
-
"readModeOnly":
|
|
24700
|
+
"catalogRows": 1343,
|
|
24701
|
+
"withTool": 924,
|
|
24702
|
+
"readModeOnly": 419,
|
|
24447
24703
|
"neverExposed": 0,
|
|
24448
24704
|
"metaTools": 5
|
|
24449
24705
|
}
|
package/README.md
CHANGED
|
@@ -389,7 +389,7 @@ The SDK ships the mechanical substrate, not a server (no MCP imports, no zod):
|
|
|
389
389
|
governor place: `src/operations/invoke.ts`).
|
|
390
390
|
|
|
391
391
|
<!-- BEGIN GENERATED:approval-policy -->
|
|
392
|
-
**Harness approval policy (recommended).** Require approval on every tool whose MCP annotation is `readOnlyHint !== true` — today exactly **
|
|
392
|
+
**Harness approval policy (recommended).** Require approval on every tool whose MCP annotation is `readOnlyHint !== true` — today exactly **279 tools**: the 277 dedicated write/delete tools (210 `effect=write` + 67 `effect=destructive`, every one of them has a dedicated tool) + `autotask_write` + `autotask_delete`. The remaining **650 tools** (the 637 dedicated read tools + the 10 core read tools + `autotask_read` + `autotask_catalog` + `autotask_describe`) all carry `readOnlyHint: true` and are safe ungated: every op they can route is `effect=read` (zero mutating requests). Refined class for the highest-risk ops: the **68 tools with `destructiveHint: true`** (67 dedicated delete tools + `autotask_delete`) additionally require `confirm === <operation key>` even inside `autotask_delete`. The approval-gated writes (`configuration_items.moveConfigurationItem`, `contacts.moveToCompany`) require the same confirm inside `autotask_write`. Migration: `autotask_invoke` is REPLACED by `autotask_read`/`autotask_write`/`autotask_delete` — update harness config and remove any `autotask_invoke` entry. The rule is derivable from the registry `effect` column and the mode tools’ fixed annotations; it never needs a hand-maintained name list.
|
|
393
393
|
<!-- END GENERATED:approval-policy -->
|
|
394
394
|
**Provider tool-search interop.** Hosts with provider-native tool search
|
|
395
395
|
(OpenAI `type: "tool_search"` / `defer_loading`; Anthropic's tool search
|