node-autotask 0.70.0 → 0.72.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 +29 -0
- package/MCP_TOOL_CATALOG.json +515 -9
- package/README.md +1 -1
- package/capabilities.json +2108 -293
- package/dist/capabilities-data.js +2107 -292
- package/dist/capabilities.cjs +4 -4
- package/dist/capabilities.js +1 -1
- package/dist/{chunk-TYUTIZWB.js → chunk-A4IRIYZ5.js} +6 -2
- package/dist/{chunk-3RANR2RY.js → chunk-EGG2RGL5.js} +433 -8
- package/dist/{chunk-MN5VLBCI.js → chunk-F2TYZKJS.js} +2 -2
- package/dist/{chunk-YQX45JBG.cjs → chunk-HJVTA7SI.cjs} +34 -30
- package/dist/{chunk-SCFB5MF3.js → chunk-K33DPJFK.js} +3 -3
- package/dist/{chunk-YRRTE2NF.cjs → chunk-KVC5DZAP.cjs} +438 -13
- package/dist/{chunk-KAZE4WC7.cjs → chunk-SPME362B.cjs} +3 -3
- package/dist/{chunk-GVP2WW47.cjs → chunk-V5UGW6KZ.cjs} +177 -177
- package/dist/{index-COQEG55Q.d.cts → index-BXnhBnhN.d.cts} +248 -1
- package/dist/{index-COQEG55Q.d.ts → index-BXnhBnhN.d.ts} +248 -1
- package/dist/{index-CGW80Uzc.d.cts → index-CqsY5YHt.d.cts} +7 -2
- package/dist/{index-By9Zw2Oc.d.ts → index-DxfspQR1.d.ts} +7 -2
- 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 +5 -5
- package/dist/operations/index.d.ts +5 -5
- 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 +86 -6
- package/docs/RELEASING.md +11 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.72.0] - 2026-11-19
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Add TaskNotes global query/count/metadata and task-scoped get/create/PATCH update through typed `taskNotes` and registered generic dispatch. Enforce documented writable fields, text limits and required matching taskID on create across preview, apply and direct creation compositions; preserve baseline, permissions, impersonation and rich-text limitations. No DELETE is introduced (#465).
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- Use model-backed numeric parent filters and bounded registered invocation in DNS-record query/count examples; preserve the existing installedProductID relationship and routes (#474).
|
|
19
|
+
|
|
20
|
+
## [0.71.0] - 2026-11-18
|
|
21
|
+
|
|
22
|
+
### Added
|
|
23
|
+
|
|
24
|
+
- Add `attachmentInfo` reads and company/company-note attachment query, count, scoped get/create/delete and documented metadata through the existing generic resource and governed invocation paths (#467, #464). Keep note-parent and company scope distinct, expose object-specific query examples and preserve model-shaped attachment reads/deletes. Attachment updates remain unsupported.
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
|
|
28
|
+
- Refuse `companyAttachments.createIfNotExists`: company-level query results can include child-note attachments and cannot establish exact company-parent duplicates. Use explicit scoped create instead (#467, #464).
|
|
29
|
+
- Prevent direct `createIfNotExists` calls from issuing requests on generic resources that explicitly disable creation, including read-only `attachmentInfo`. Existing compositions on create-capable resources retain their behavior (#467, #464).
|
|
30
|
+
|
|
31
|
+
### Fixed
|
|
32
|
+
|
|
33
|
+
- Identify configuration-item DNS-record parents by the documented `installedProductID` field in relationships and query guidance, so scope consumers can validate the actual model field (#471).
|
|
34
|
+
|
|
35
|
+
### Maintenance
|
|
36
|
+
|
|
37
|
+
- Account for every vendored specification route in the capabilities gate, with explicit equivalent and tracked-exclusion evidence, including entirely omitted resource families (#463).
|
|
38
|
+
|
|
10
39
|
## [0.70.0] - 2026-11-17
|
|
11
40
|
|
|
12
41
|
### 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-18T13:26:15.447Z",
|
|
4
|
+
"planHash": "79f3968f072705fbc7b479dba6863a27bde47deee7b85885eda8d019302f9c25",
|
|
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 400 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 258 today); the 623 readOnlyHint: true tools — including this one — are safe ungated; the 59 destructiveHint: true tools (58 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 258 tools that require approval (readOnlyHint !== true); the 623 readOnlyHint: true tools are safe ungated, and the 59 destructiveHint: true tools (58 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 58), 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 59 destructiveHint: true tools that require approval + confirm; approve every tool with readOnlyHint !== true (exactly 258 today); the 623 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",
|
|
@@ -12097,6 +12097,110 @@
|
|
|
12097
12097
|
"reachReason": null,
|
|
12098
12098
|
"boundedAlternative": null
|
|
12099
12099
|
},
|
|
12100
|
+
{
|
|
12101
|
+
"operation": "attachment_info.count",
|
|
12102
|
+
"core": false,
|
|
12103
|
+
"tool": "autotask_attachmentInfo_count",
|
|
12104
|
+
"purpose": "Count attachment information records matching a JSON filter.",
|
|
12105
|
+
"preferredWhen": null,
|
|
12106
|
+
"backingOperation": "attachment_info.count",
|
|
12107
|
+
"effect": "read",
|
|
12108
|
+
"dryRunFirst": false,
|
|
12109
|
+
"confirm": false,
|
|
12110
|
+
"requiredArgs": [],
|
|
12111
|
+
"tier": "extended",
|
|
12112
|
+
"reachable": true,
|
|
12113
|
+
"reach": "dedicated tool",
|
|
12114
|
+
"reachReason": null,
|
|
12115
|
+
"boundedAlternative": null
|
|
12116
|
+
},
|
|
12117
|
+
{
|
|
12118
|
+
"operation": "attachment_info.get",
|
|
12119
|
+
"core": false,
|
|
12120
|
+
"tool": "autotask_attachmentInfo_get",
|
|
12121
|
+
"purpose": "Get one AttachmentInfo by id.",
|
|
12122
|
+
"preferredWhen": "Use a known attachment id; query attachment_info with an object-specific filter to discover ids.",
|
|
12123
|
+
"backingOperation": "attachment_info.get",
|
|
12124
|
+
"effect": "read",
|
|
12125
|
+
"dryRunFirst": false,
|
|
12126
|
+
"confirm": false,
|
|
12127
|
+
"requiredArgs": [
|
|
12128
|
+
"id"
|
|
12129
|
+
],
|
|
12130
|
+
"tier": "extended",
|
|
12131
|
+
"reachable": true,
|
|
12132
|
+
"reach": "dedicated tool",
|
|
12133
|
+
"reachReason": null,
|
|
12134
|
+
"boundedAlternative": null
|
|
12135
|
+
},
|
|
12136
|
+
{
|
|
12137
|
+
"operation": "attachment_info.getEntityInfo",
|
|
12138
|
+
"core": false,
|
|
12139
|
+
"tool": null,
|
|
12140
|
+
"purpose": "Get the AttachmentInfo capability metadata (canCreate/canUpdate/hasUserDefinedFields/...).",
|
|
12141
|
+
"preferredWhen": null,
|
|
12142
|
+
"backingOperation": "attachment_info.getEntityInfo",
|
|
12143
|
+
"effect": "read",
|
|
12144
|
+
"dryRunFirst": false,
|
|
12145
|
+
"confirm": false,
|
|
12146
|
+
"requiredArgs": [],
|
|
12147
|
+
"tier": "extended",
|
|
12148
|
+
"reachable": true,
|
|
12149
|
+
"reach": "autotask_read (exact operation name; effect=read — read-only; zero mutating requests)",
|
|
12150
|
+
"reachReason": "no dedicated tool — the op is still discoverable and invocable by exact name",
|
|
12151
|
+
"boundedAlternative": null
|
|
12152
|
+
},
|
|
12153
|
+
{
|
|
12154
|
+
"operation": "attachment_info.getFieldInfo",
|
|
12155
|
+
"core": false,
|
|
12156
|
+
"tool": null,
|
|
12157
|
+
"purpose": "Get the AttachmentInfo field catalog (types, picklists, required, maxLength) — the full raw field dump (the largest read of the info trio; compact discovery: operations.fieldCatalog).",
|
|
12158
|
+
"preferredWhen": null,
|
|
12159
|
+
"backingOperation": "attachment_info.getFieldInfo",
|
|
12160
|
+
"effect": "read",
|
|
12161
|
+
"dryRunFirst": false,
|
|
12162
|
+
"confirm": false,
|
|
12163
|
+
"requiredArgs": [],
|
|
12164
|
+
"tier": "extended",
|
|
12165
|
+
"reachable": true,
|
|
12166
|
+
"reach": "autotask_read (exact operation name; effect=read — read-only; zero mutating requests)",
|
|
12167
|
+
"reachReason": "no dedicated tool — the op is still discoverable and invocable by exact name",
|
|
12168
|
+
"boundedAlternative": null
|
|
12169
|
+
},
|
|
12170
|
+
{
|
|
12171
|
+
"operation": "attachment_info.getUdfInfo",
|
|
12172
|
+
"core": false,
|
|
12173
|
+
"tool": null,
|
|
12174
|
+
"purpose": "Get the AttachmentInfo user-defined-field catalog.",
|
|
12175
|
+
"preferredWhen": null,
|
|
12176
|
+
"backingOperation": "attachment_info.getUdfInfo",
|
|
12177
|
+
"effect": "read",
|
|
12178
|
+
"dryRunFirst": false,
|
|
12179
|
+
"confirm": false,
|
|
12180
|
+
"requiredArgs": [],
|
|
12181
|
+
"tier": "extended",
|
|
12182
|
+
"reachable": true,
|
|
12183
|
+
"reach": "autotask_read (exact operation name; effect=read — read-only; zero mutating requests)",
|
|
12184
|
+
"reachReason": "no dedicated tool — the op is still discoverable and invocable by exact name",
|
|
12185
|
+
"boundedAlternative": null
|
|
12186
|
+
},
|
|
12187
|
+
{
|
|
12188
|
+
"operation": "attachment_info.query",
|
|
12189
|
+
"core": false,
|
|
12190
|
+
"tool": "autotask_attachmentInfo_query",
|
|
12191
|
+
"purpose": "Query AttachmentInfo records with a JSON filter.",
|
|
12192
|
+
"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).",
|
|
12193
|
+
"backingOperation": "attachment_info.query",
|
|
12194
|
+
"effect": "read",
|
|
12195
|
+
"dryRunFirst": false,
|
|
12196
|
+
"confirm": false,
|
|
12197
|
+
"requiredArgs": [],
|
|
12198
|
+
"tier": "extended",
|
|
12199
|
+
"reachable": true,
|
|
12200
|
+
"reach": "dedicated tool",
|
|
12201
|
+
"reachReason": null,
|
|
12202
|
+
"boundedAlternative": null
|
|
12203
|
+
},
|
|
12100
12204
|
{
|
|
12101
12205
|
"operation": "companies.count",
|
|
12102
12206
|
"core": false,
|
|
@@ -12596,6 +12700,134 @@
|
|
|
12596
12700
|
"reachReason": null,
|
|
12597
12701
|
"boundedAlternative": null
|
|
12598
12702
|
},
|
|
12703
|
+
{
|
|
12704
|
+
"operation": "company_attachments.count",
|
|
12705
|
+
"core": false,
|
|
12706
|
+
"tool": "autotask_companyAttachment_count",
|
|
12707
|
+
"purpose": "Count attachment records matching a JSON filter. (under a company)",
|
|
12708
|
+
"preferredWhen": null,
|
|
12709
|
+
"backingOperation": "company_attachments.count",
|
|
12710
|
+
"effect": "read",
|
|
12711
|
+
"dryRunFirst": false,
|
|
12712
|
+
"confirm": false,
|
|
12713
|
+
"requiredArgs": [],
|
|
12714
|
+
"tier": "extended",
|
|
12715
|
+
"reachable": true,
|
|
12716
|
+
"reach": "dedicated tool",
|
|
12717
|
+
"reachReason": null,
|
|
12718
|
+
"boundedAlternative": null
|
|
12719
|
+
},
|
|
12720
|
+
{
|
|
12721
|
+
"operation": "company_attachments.create",
|
|
12722
|
+
"core": false,
|
|
12723
|
+
"tool": "autotask_companyAttachment_create",
|
|
12724
|
+
"purpose": "Create an attachment. (under a company)",
|
|
12725
|
+
"preferredWhen": "Add a new attachment; existing attachments cannot be updated. Replace through separately governed delete and create actions.",
|
|
12726
|
+
"backingOperation": "company_attachments.create",
|
|
12727
|
+
"effect": "write",
|
|
12728
|
+
"dryRunFirst": true,
|
|
12729
|
+
"confirm": false,
|
|
12730
|
+
"requiredArgs": [
|
|
12731
|
+
"parentId",
|
|
12732
|
+
"data"
|
|
12733
|
+
],
|
|
12734
|
+
"tier": "extended",
|
|
12735
|
+
"reachable": true,
|
|
12736
|
+
"reach": "dedicated tool",
|
|
12737
|
+
"reachReason": null,
|
|
12738
|
+
"boundedAlternative": null
|
|
12739
|
+
},
|
|
12740
|
+
{
|
|
12741
|
+
"operation": "company_attachments.delete",
|
|
12742
|
+
"core": false,
|
|
12743
|
+
"tool": "autotask_companyAttachment_delete",
|
|
12744
|
+
"purpose": "Delete an attachment. (under a company)",
|
|
12745
|
+
"preferredWhen": null,
|
|
12746
|
+
"backingOperation": "company_attachments.delete",
|
|
12747
|
+
"effect": "destructive",
|
|
12748
|
+
"dryRunFirst": true,
|
|
12749
|
+
"confirm": true,
|
|
12750
|
+
"requiredArgs": [
|
|
12751
|
+
"parentId",
|
|
12752
|
+
"id"
|
|
12753
|
+
],
|
|
12754
|
+
"tier": "extended",
|
|
12755
|
+
"reachable": true,
|
|
12756
|
+
"reach": "dedicated tool",
|
|
12757
|
+
"reachReason": null,
|
|
12758
|
+
"boundedAlternative": null
|
|
12759
|
+
},
|
|
12760
|
+
{
|
|
12761
|
+
"operation": "company_attachments.get",
|
|
12762
|
+
"core": false,
|
|
12763
|
+
"tool": "autotask_companyAttachment_get",
|
|
12764
|
+
"purpose": "Get one CompanyAttachment by id.",
|
|
12765
|
+
"preferredWhen": "Use a known attachment id; query the scoped collection to discover ids.",
|
|
12766
|
+
"backingOperation": "company_attachments.get",
|
|
12767
|
+
"effect": "read",
|
|
12768
|
+
"dryRunFirst": false,
|
|
12769
|
+
"confirm": false,
|
|
12770
|
+
"requiredArgs": [
|
|
12771
|
+
"parentId",
|
|
12772
|
+
"id"
|
|
12773
|
+
],
|
|
12774
|
+
"tier": "extended",
|
|
12775
|
+
"reachable": true,
|
|
12776
|
+
"reach": "dedicated tool",
|
|
12777
|
+
"reachReason": null,
|
|
12778
|
+
"boundedAlternative": null
|
|
12779
|
+
},
|
|
12780
|
+
{
|
|
12781
|
+
"operation": "company_attachments.getEntityInfo",
|
|
12782
|
+
"core": false,
|
|
12783
|
+
"tool": null,
|
|
12784
|
+
"purpose": "Get the CompanyAttachment capability metadata (canCreate/canUpdate/hasUserDefinedFields/...).",
|
|
12785
|
+
"preferredWhen": null,
|
|
12786
|
+
"backingOperation": "company_attachments.getEntityInfo",
|
|
12787
|
+
"effect": "read",
|
|
12788
|
+
"dryRunFirst": false,
|
|
12789
|
+
"confirm": false,
|
|
12790
|
+
"requiredArgs": [],
|
|
12791
|
+
"tier": "extended",
|
|
12792
|
+
"reachable": true,
|
|
12793
|
+
"reach": "autotask_read (exact operation name; effect=read — read-only; zero mutating requests)",
|
|
12794
|
+
"reachReason": "no dedicated tool — the op is still discoverable and invocable by exact name",
|
|
12795
|
+
"boundedAlternative": null
|
|
12796
|
+
},
|
|
12797
|
+
{
|
|
12798
|
+
"operation": "company_attachments.getFieldInfo",
|
|
12799
|
+
"core": false,
|
|
12800
|
+
"tool": null,
|
|
12801
|
+
"purpose": "Get the CompanyAttachment field catalog (types, picklists, required, maxLength) — the full raw field dump (the largest read of the info trio; compact discovery: operations.fieldCatalog).",
|
|
12802
|
+
"preferredWhen": null,
|
|
12803
|
+
"backingOperation": "company_attachments.getFieldInfo",
|
|
12804
|
+
"effect": "read",
|
|
12805
|
+
"dryRunFirst": false,
|
|
12806
|
+
"confirm": false,
|
|
12807
|
+
"requiredArgs": [],
|
|
12808
|
+
"tier": "extended",
|
|
12809
|
+
"reachable": true,
|
|
12810
|
+
"reach": "autotask_read (exact operation name; effect=read — read-only; zero mutating requests)",
|
|
12811
|
+
"reachReason": "no dedicated tool — the op is still discoverable and invocable by exact name",
|
|
12812
|
+
"boundedAlternative": null
|
|
12813
|
+
},
|
|
12814
|
+
{
|
|
12815
|
+
"operation": "company_attachments.query",
|
|
12816
|
+
"core": false,
|
|
12817
|
+
"tool": "autotask_companyAttachment_query",
|
|
12818
|
+
"purpose": "Query CompanyAttachment records with a JSON filter.",
|
|
12819
|
+
"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).",
|
|
12820
|
+
"backingOperation": "company_attachments.query",
|
|
12821
|
+
"effect": "read",
|
|
12822
|
+
"dryRunFirst": false,
|
|
12823
|
+
"confirm": false,
|
|
12824
|
+
"requiredArgs": [],
|
|
12825
|
+
"tier": "extended",
|
|
12826
|
+
"reachable": true,
|
|
12827
|
+
"reach": "dedicated tool",
|
|
12828
|
+
"reachReason": null,
|
|
12829
|
+
"boundedAlternative": null
|
|
12830
|
+
},
|
|
12599
12831
|
{
|
|
12600
12832
|
"operation": "company_locations.count",
|
|
12601
12833
|
"core": false,
|
|
@@ -12800,6 +13032,134 @@
|
|
|
12800
13032
|
"reachReason": null,
|
|
12801
13033
|
"boundedAlternative": null
|
|
12802
13034
|
},
|
|
13035
|
+
{
|
|
13036
|
+
"operation": "company_note_attachments.count",
|
|
13037
|
+
"core": false,
|
|
13038
|
+
"tool": "autotask_companyNoteAttachment_count",
|
|
13039
|
+
"purpose": "Count attachment records matching a JSON filter. (under a company note)",
|
|
13040
|
+
"preferredWhen": null,
|
|
13041
|
+
"backingOperation": "company_note_attachments.count",
|
|
13042
|
+
"effect": "read",
|
|
13043
|
+
"dryRunFirst": false,
|
|
13044
|
+
"confirm": false,
|
|
13045
|
+
"requiredArgs": [],
|
|
13046
|
+
"tier": "extended",
|
|
13047
|
+
"reachable": true,
|
|
13048
|
+
"reach": "dedicated tool",
|
|
13049
|
+
"reachReason": null,
|
|
13050
|
+
"boundedAlternative": null
|
|
13051
|
+
},
|
|
13052
|
+
{
|
|
13053
|
+
"operation": "company_note_attachments.create",
|
|
13054
|
+
"core": false,
|
|
13055
|
+
"tool": "autotask_companyNoteAttachment_create",
|
|
13056
|
+
"purpose": "Create an attachment. (under a company note)",
|
|
13057
|
+
"preferredWhen": "Add a new attachment; existing attachments cannot be updated. Replace through separately governed delete and create actions.",
|
|
13058
|
+
"backingOperation": "company_note_attachments.create",
|
|
13059
|
+
"effect": "write",
|
|
13060
|
+
"dryRunFirst": true,
|
|
13061
|
+
"confirm": false,
|
|
13062
|
+
"requiredArgs": [
|
|
13063
|
+
"parentId",
|
|
13064
|
+
"data"
|
|
13065
|
+
],
|
|
13066
|
+
"tier": "extended",
|
|
13067
|
+
"reachable": true,
|
|
13068
|
+
"reach": "dedicated tool",
|
|
13069
|
+
"reachReason": null,
|
|
13070
|
+
"boundedAlternative": null
|
|
13071
|
+
},
|
|
13072
|
+
{
|
|
13073
|
+
"operation": "company_note_attachments.delete",
|
|
13074
|
+
"core": false,
|
|
13075
|
+
"tool": "autotask_companyNoteAttachment_delete",
|
|
13076
|
+
"purpose": "Delete an attachment. (under a company note)",
|
|
13077
|
+
"preferredWhen": null,
|
|
13078
|
+
"backingOperation": "company_note_attachments.delete",
|
|
13079
|
+
"effect": "destructive",
|
|
13080
|
+
"dryRunFirst": true,
|
|
13081
|
+
"confirm": true,
|
|
13082
|
+
"requiredArgs": [
|
|
13083
|
+
"parentId",
|
|
13084
|
+
"id"
|
|
13085
|
+
],
|
|
13086
|
+
"tier": "extended",
|
|
13087
|
+
"reachable": true,
|
|
13088
|
+
"reach": "dedicated tool",
|
|
13089
|
+
"reachReason": null,
|
|
13090
|
+
"boundedAlternative": null
|
|
13091
|
+
},
|
|
13092
|
+
{
|
|
13093
|
+
"operation": "company_note_attachments.get",
|
|
13094
|
+
"core": false,
|
|
13095
|
+
"tool": "autotask_companyNoteAttachment_get",
|
|
13096
|
+
"purpose": "Get one CompanyNoteAttachment by id.",
|
|
13097
|
+
"preferredWhen": "Use a known attachment id; query the scoped collection to discover ids.",
|
|
13098
|
+
"backingOperation": "company_note_attachments.get",
|
|
13099
|
+
"effect": "read",
|
|
13100
|
+
"dryRunFirst": false,
|
|
13101
|
+
"confirm": false,
|
|
13102
|
+
"requiredArgs": [
|
|
13103
|
+
"parentId",
|
|
13104
|
+
"id"
|
|
13105
|
+
],
|
|
13106
|
+
"tier": "extended",
|
|
13107
|
+
"reachable": true,
|
|
13108
|
+
"reach": "dedicated tool",
|
|
13109
|
+
"reachReason": null,
|
|
13110
|
+
"boundedAlternative": null
|
|
13111
|
+
},
|
|
13112
|
+
{
|
|
13113
|
+
"operation": "company_note_attachments.getEntityInfo",
|
|
13114
|
+
"core": false,
|
|
13115
|
+
"tool": null,
|
|
13116
|
+
"purpose": "Get the CompanyNoteAttachment capability metadata (canCreate/canUpdate/hasUserDefinedFields/...).",
|
|
13117
|
+
"preferredWhen": null,
|
|
13118
|
+
"backingOperation": "company_note_attachments.getEntityInfo",
|
|
13119
|
+
"effect": "read",
|
|
13120
|
+
"dryRunFirst": false,
|
|
13121
|
+
"confirm": false,
|
|
13122
|
+
"requiredArgs": [],
|
|
13123
|
+
"tier": "extended",
|
|
13124
|
+
"reachable": true,
|
|
13125
|
+
"reach": "autotask_read (exact operation name; effect=read — read-only; zero mutating requests)",
|
|
13126
|
+
"reachReason": "no dedicated tool — the op is still discoverable and invocable by exact name",
|
|
13127
|
+
"boundedAlternative": null
|
|
13128
|
+
},
|
|
13129
|
+
{
|
|
13130
|
+
"operation": "company_note_attachments.getFieldInfo",
|
|
13131
|
+
"core": false,
|
|
13132
|
+
"tool": null,
|
|
13133
|
+
"purpose": "Get the CompanyNoteAttachment field catalog (types, picklists, required, maxLength) — the full raw field dump (the largest read of the info trio; compact discovery: operations.fieldCatalog).",
|
|
13134
|
+
"preferredWhen": null,
|
|
13135
|
+
"backingOperation": "company_note_attachments.getFieldInfo",
|
|
13136
|
+
"effect": "read",
|
|
13137
|
+
"dryRunFirst": false,
|
|
13138
|
+
"confirm": false,
|
|
13139
|
+
"requiredArgs": [],
|
|
13140
|
+
"tier": "extended",
|
|
13141
|
+
"reachable": true,
|
|
13142
|
+
"reach": "autotask_read (exact operation name; effect=read — read-only; zero mutating requests)",
|
|
13143
|
+
"reachReason": "no dedicated tool — the op is still discoverable and invocable by exact name",
|
|
13144
|
+
"boundedAlternative": null
|
|
13145
|
+
},
|
|
13146
|
+
{
|
|
13147
|
+
"operation": "company_note_attachments.query",
|
|
13148
|
+
"core": false,
|
|
13149
|
+
"tool": "autotask_companyNoteAttachment_query",
|
|
13150
|
+
"purpose": "Query CompanyNoteAttachment records with a JSON filter.",
|
|
13151
|
+
"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).",
|
|
13152
|
+
"backingOperation": "company_note_attachments.query",
|
|
13153
|
+
"effect": "read",
|
|
13154
|
+
"dryRunFirst": false,
|
|
13155
|
+
"confirm": false,
|
|
13156
|
+
"requiredArgs": [],
|
|
13157
|
+
"tier": "extended",
|
|
13158
|
+
"reachable": true,
|
|
13159
|
+
"reach": "dedicated tool",
|
|
13160
|
+
"reachReason": null,
|
|
13161
|
+
"boundedAlternative": null
|
|
13162
|
+
},
|
|
12803
13163
|
{
|
|
12804
13164
|
"operation": "company_notes.count",
|
|
12805
13165
|
"core": false,
|
|
@@ -20177,6 +20537,152 @@
|
|
|
20177
20537
|
"reachReason": null,
|
|
20178
20538
|
"boundedAlternative": null
|
|
20179
20539
|
},
|
|
20540
|
+
{
|
|
20541
|
+
"operation": "task_notes.count",
|
|
20542
|
+
"core": false,
|
|
20543
|
+
"tool": "autotask_taskNote_count",
|
|
20544
|
+
"purpose": "Count task note records matching a JSON filter.",
|
|
20545
|
+
"preferredWhen": null,
|
|
20546
|
+
"backingOperation": "task_notes.count",
|
|
20547
|
+
"effect": "read",
|
|
20548
|
+
"dryRunFirst": false,
|
|
20549
|
+
"confirm": false,
|
|
20550
|
+
"requiredArgs": [],
|
|
20551
|
+
"tier": "extended",
|
|
20552
|
+
"reachable": true,
|
|
20553
|
+
"reach": "dedicated tool",
|
|
20554
|
+
"reachReason": null,
|
|
20555
|
+
"boundedAlternative": null
|
|
20556
|
+
},
|
|
20557
|
+
{
|
|
20558
|
+
"operation": "task_notes.create",
|
|
20559
|
+
"core": false,
|
|
20560
|
+
"tool": "autotask_taskNote_create",
|
|
20561
|
+
"purpose": "Create a task note.",
|
|
20562
|
+
"preferredWhen": "Only for a record that does not exist yet; prefer update for an id you already have.",
|
|
20563
|
+
"backingOperation": "task_notes.create",
|
|
20564
|
+
"effect": "write",
|
|
20565
|
+
"dryRunFirst": true,
|
|
20566
|
+
"confirm": false,
|
|
20567
|
+
"requiredArgs": [
|
|
20568
|
+
"parentId",
|
|
20569
|
+
"data"
|
|
20570
|
+
],
|
|
20571
|
+
"tier": "extended",
|
|
20572
|
+
"reachable": true,
|
|
20573
|
+
"reach": "dedicated tool",
|
|
20574
|
+
"reachReason": null,
|
|
20575
|
+
"boundedAlternative": null
|
|
20576
|
+
},
|
|
20577
|
+
{
|
|
20578
|
+
"operation": "task_notes.get",
|
|
20579
|
+
"core": false,
|
|
20580
|
+
"tool": "autotask_taskNote_get",
|
|
20581
|
+
"purpose": "Get one TaskNote by id.",
|
|
20582
|
+
"preferredWhen": "Preferred when the parent task ID and note ID are known; use a bounded taskID-filtered query to discover notes.",
|
|
20583
|
+
"backingOperation": "task_notes.get",
|
|
20584
|
+
"effect": "read",
|
|
20585
|
+
"dryRunFirst": false,
|
|
20586
|
+
"confirm": false,
|
|
20587
|
+
"requiredArgs": [
|
|
20588
|
+
"parentId",
|
|
20589
|
+
"id"
|
|
20590
|
+
],
|
|
20591
|
+
"tier": "extended",
|
|
20592
|
+
"reachable": true,
|
|
20593
|
+
"reach": "dedicated tool",
|
|
20594
|
+
"reachReason": null,
|
|
20595
|
+
"boundedAlternative": null
|
|
20596
|
+
},
|
|
20597
|
+
{
|
|
20598
|
+
"operation": "task_notes.getEntityInfo",
|
|
20599
|
+
"core": false,
|
|
20600
|
+
"tool": null,
|
|
20601
|
+
"purpose": "Get the TaskNote capability metadata (canCreate/canUpdate/hasUserDefinedFields/...).",
|
|
20602
|
+
"preferredWhen": null,
|
|
20603
|
+
"backingOperation": "task_notes.getEntityInfo",
|
|
20604
|
+
"effect": "read",
|
|
20605
|
+
"dryRunFirst": false,
|
|
20606
|
+
"confirm": false,
|
|
20607
|
+
"requiredArgs": [],
|
|
20608
|
+
"tier": "extended",
|
|
20609
|
+
"reachable": true,
|
|
20610
|
+
"reach": "autotask_read (exact operation name; effect=read — read-only; zero mutating requests)",
|
|
20611
|
+
"reachReason": "no dedicated tool — the op is still discoverable and invocable by exact name",
|
|
20612
|
+
"boundedAlternative": null
|
|
20613
|
+
},
|
|
20614
|
+
{
|
|
20615
|
+
"operation": "task_notes.getFieldInfo",
|
|
20616
|
+
"core": false,
|
|
20617
|
+
"tool": null,
|
|
20618
|
+
"purpose": "Get the TaskNote field catalog (types, picklists, required, maxLength) — the full raw field dump (the largest read of the info trio; compact discovery: operations.fieldCatalog).",
|
|
20619
|
+
"preferredWhen": null,
|
|
20620
|
+
"backingOperation": "task_notes.getFieldInfo",
|
|
20621
|
+
"effect": "read",
|
|
20622
|
+
"dryRunFirst": false,
|
|
20623
|
+
"confirm": false,
|
|
20624
|
+
"requiredArgs": [],
|
|
20625
|
+
"tier": "extended",
|
|
20626
|
+
"reachable": true,
|
|
20627
|
+
"reach": "autotask_read (exact operation name; effect=read — read-only; zero mutating requests)",
|
|
20628
|
+
"reachReason": "no dedicated tool — the op is still discoverable and invocable by exact name",
|
|
20629
|
+
"boundedAlternative": null
|
|
20630
|
+
},
|
|
20631
|
+
{
|
|
20632
|
+
"operation": "task_notes.getUdfInfo",
|
|
20633
|
+
"core": false,
|
|
20634
|
+
"tool": null,
|
|
20635
|
+
"purpose": "Get the TaskNote user-defined-field catalog.",
|
|
20636
|
+
"preferredWhen": null,
|
|
20637
|
+
"backingOperation": "task_notes.getUdfInfo",
|
|
20638
|
+
"effect": "read",
|
|
20639
|
+
"dryRunFirst": false,
|
|
20640
|
+
"confirm": false,
|
|
20641
|
+
"requiredArgs": [],
|
|
20642
|
+
"tier": "extended",
|
|
20643
|
+
"reachable": true,
|
|
20644
|
+
"reach": "autotask_read (exact operation name; effect=read — read-only; zero mutating requests)",
|
|
20645
|
+
"reachReason": "no dedicated tool — the op is still discoverable and invocable by exact name",
|
|
20646
|
+
"boundedAlternative": null
|
|
20647
|
+
},
|
|
20648
|
+
{
|
|
20649
|
+
"operation": "task_notes.query",
|
|
20650
|
+
"core": false,
|
|
20651
|
+
"tool": "autotask_taskNote_query",
|
|
20652
|
+
"purpose": "Query TaskNote records with a JSON filter.",
|
|
20653
|
+
"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).",
|
|
20654
|
+
"backingOperation": "task_notes.query",
|
|
20655
|
+
"effect": "read",
|
|
20656
|
+
"dryRunFirst": false,
|
|
20657
|
+
"confirm": false,
|
|
20658
|
+
"requiredArgs": [],
|
|
20659
|
+
"tier": "extended",
|
|
20660
|
+
"reachable": true,
|
|
20661
|
+
"reach": "dedicated tool",
|
|
20662
|
+
"reachReason": null,
|
|
20663
|
+
"boundedAlternative": null
|
|
20664
|
+
},
|
|
20665
|
+
{
|
|
20666
|
+
"operation": "task_notes.update",
|
|
20667
|
+
"core": false,
|
|
20668
|
+
"tool": "autotask_taskNote_update",
|
|
20669
|
+
"purpose": "Update a task note.",
|
|
20670
|
+
"preferredWhen": "Use when an existing task note needs a supported field change.",
|
|
20671
|
+
"backingOperation": "task_notes.update",
|
|
20672
|
+
"effect": "write",
|
|
20673
|
+
"dryRunFirst": true,
|
|
20674
|
+
"confirm": false,
|
|
20675
|
+
"requiredArgs": [
|
|
20676
|
+
"parentId",
|
|
20677
|
+
"id",
|
|
20678
|
+
"data"
|
|
20679
|
+
],
|
|
20680
|
+
"tier": "extended",
|
|
20681
|
+
"reachable": true,
|
|
20682
|
+
"reach": "dedicated tool",
|
|
20683
|
+
"reachReason": null,
|
|
20684
|
+
"boundedAlternative": null
|
|
20685
|
+
},
|
|
20180
20686
|
{
|
|
20181
20687
|
"operation": "task_secondary_resources.count",
|
|
20182
20688
|
"core": false,
|
|
@@ -22958,11 +23464,11 @@
|
|
|
22958
23464
|
}
|
|
22959
23465
|
],
|
|
22960
23466
|
"counts": {
|
|
22961
|
-
"registryOperations":
|
|
23467
|
+
"registryOperations": 1276,
|
|
22962
23468
|
"coreOperations": 10,
|
|
22963
|
-
"catalogRows":
|
|
22964
|
-
"withTool":
|
|
22965
|
-
"readModeOnly":
|
|
23469
|
+
"catalogRows": 1276,
|
|
23470
|
+
"withTool": 876,
|
|
23471
|
+
"readModeOnly": 400,
|
|
22966
23472
|
"neverExposed": 0,
|
|
22967
23473
|
"metaTools": 5
|
|
22968
23474
|
}
|
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 **258 tools**: the 256 dedicated write/delete tools (198 `effect=write` + 58 `effect=destructive`, every one of them has a dedicated tool) + `autotask_write` + `autotask_delete`. The remaining **623 tools** (the 610 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 **59 tools with `destructiveHint: true`** (58 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
|