@soat/sdk 0.14.11 → 0.14.12

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/dist/index.d.cts CHANGED
@@ -1713,6 +1713,10 @@ type ToolResourceProperties = {
1713
1713
  * Allowlist of actions the tool exposes. For `soat` tools: SOAT platform action names. For `mcp` tools: an optional allowlist of MCP tool names to scope the server surface (`null` exposes every tool).
1714
1714
  */
1715
1715
  actions?: Array<string> | null;
1716
+ /**
1717
+ * For `mcp` tools: an optional denylist of MCP tool names to hide. Applied after `actions` and taking precedence over it — the ergonomic way to scope a read+write MCP server read-only by denying just the write tools. `null` denies nothing.
1718
+ */
1719
+ denied_actions?: Array<string> | null;
1716
1720
  /**
1717
1721
  * Pre-filled parameter values injected at execution time
1718
1722
  */
@@ -3250,6 +3254,10 @@ type Tool = {
3250
3254
  * Allowlist of actions to expose. For `soat` tools: SOAT platform action names (required). For `mcp` tools: an optional allowlist of MCP tool names — when set, only those tools are exposed to the model and callable via `/call`; when `null`, the entire MCP server surface is exposed. Ignored for other tool types.
3251
3255
  */
3252
3256
  actions?: Array<string> | null;
3257
+ /**
3258
+ * For `mcp` tools: an optional denylist of MCP tool names to hide. Applied after `actions` and taking precedence over it — a name in both lists is denied. This is the ergonomic way to scope a read+write MCP server read-only: deny just the write tools instead of enumerating every read tool in `actions`. Names not listed are exposed. `null` (default) denies nothing. Ignored for other tool types.
3259
+ */
3260
+ denied_actions?: Array<string> | null;
3253
3261
  /**
3254
3262
  * Fixed parameters merged into every soat tool call. Keys matching fields in the action's input schema are removed from the schema shown to the model and injected automatically at execution time.
3255
3263
  */
@@ -3315,6 +3323,10 @@ type CreateToolRequest = {
3315
3323
  * Allowlist of actions. For `soat` tools: SOAT platform action names (required). For `mcp` tools: an optional allowlist of MCP tool names to scope the server surface — omit or set `null` to expose every tool the MCP server offers. Ignored for other tool types.
3316
3324
  */
3317
3325
  actions?: Array<string>;
3326
+ /**
3327
+ * For `mcp` tools: an optional denylist of MCP tool names to hide. Applied after `actions` and taking precedence over it. Use it to scope a read+write MCP server read-only by denying just the write tools. Omit or set `null` to deny nothing. Ignored for other tool types.
3328
+ */
3329
+ denied_actions?: Array<string>;
3318
3330
  /**
3319
3331
  * Fixed parameters merged into every soat tool call. Keys matching fields in the action's input schema are removed from the schema shown to the model and injected automatically at execution time.
3320
3332
  */
@@ -3359,6 +3371,10 @@ type UpdateToolRequest = {
3359
3371
  * Allowlist of actions. For `soat` tools: SOAT platform action names. For `mcp` tools: an optional allowlist of MCP tool names to scope the server surface (`null` exposes every tool). Ignored for other tool types.
3360
3372
  */
3361
3373
  actions?: Array<string> | null;
3374
+ /**
3375
+ * For `mcp` tools: an optional denylist of MCP tool names to hide. Applied after `actions` and taking precedence over it. Use it to scope a read+write MCP server read-only by denying just the write tools. `null` denies nothing. Ignored for other tool types.
3376
+ */
3377
+ denied_actions?: Array<string> | null;
3362
3378
  /**
3363
3379
  * Fixed parameters merged into every soat tool call. Keys matching fields in the action's input schema are removed from the schema shown to the model and injected automatically at execution time.
3364
3380
  */
@@ -3384,7 +3400,7 @@ type UpdateToolRequest = {
3384
3400
  };
3385
3401
  type CallToolRequest = {
3386
3402
  /**
3387
- * For `soat` tools: the action name (must be in the tool's `actions` list). For `mcp` tools: the MCP tool name to invoke (must be in the tool's `actions` allowlist when one is set). Ignored for `http` tools.
3403
+ * For `soat` tools: the action name (must be in the tool's `actions` list). For `mcp` tools: the MCP tool name to invoke (must be in the tool's `actions` allowlist when one is set, and must not be in its `denied_actions` denylist). Ignored for `http` tools.
3388
3404
  *
3389
3405
  */
3390
3406
  action?: string;
package/dist/index.d.mts CHANGED
@@ -1713,6 +1713,10 @@ type ToolResourceProperties = {
1713
1713
  * Allowlist of actions the tool exposes. For `soat` tools: SOAT platform action names. For `mcp` tools: an optional allowlist of MCP tool names to scope the server surface (`null` exposes every tool).
1714
1714
  */
1715
1715
  actions?: Array<string> | null;
1716
+ /**
1717
+ * For `mcp` tools: an optional denylist of MCP tool names to hide. Applied after `actions` and taking precedence over it — the ergonomic way to scope a read+write MCP server read-only by denying just the write tools. `null` denies nothing.
1718
+ */
1719
+ denied_actions?: Array<string> | null;
1716
1720
  /**
1717
1721
  * Pre-filled parameter values injected at execution time
1718
1722
  */
@@ -3250,6 +3254,10 @@ type Tool = {
3250
3254
  * Allowlist of actions to expose. For `soat` tools: SOAT platform action names (required). For `mcp` tools: an optional allowlist of MCP tool names — when set, only those tools are exposed to the model and callable via `/call`; when `null`, the entire MCP server surface is exposed. Ignored for other tool types.
3251
3255
  */
3252
3256
  actions?: Array<string> | null;
3257
+ /**
3258
+ * For `mcp` tools: an optional denylist of MCP tool names to hide. Applied after `actions` and taking precedence over it — a name in both lists is denied. This is the ergonomic way to scope a read+write MCP server read-only: deny just the write tools instead of enumerating every read tool in `actions`. Names not listed are exposed. `null` (default) denies nothing. Ignored for other tool types.
3259
+ */
3260
+ denied_actions?: Array<string> | null;
3253
3261
  /**
3254
3262
  * Fixed parameters merged into every soat tool call. Keys matching fields in the action's input schema are removed from the schema shown to the model and injected automatically at execution time.
3255
3263
  */
@@ -3315,6 +3323,10 @@ type CreateToolRequest = {
3315
3323
  * Allowlist of actions. For `soat` tools: SOAT platform action names (required). For `mcp` tools: an optional allowlist of MCP tool names to scope the server surface — omit or set `null` to expose every tool the MCP server offers. Ignored for other tool types.
3316
3324
  */
3317
3325
  actions?: Array<string>;
3326
+ /**
3327
+ * For `mcp` tools: an optional denylist of MCP tool names to hide. Applied after `actions` and taking precedence over it. Use it to scope a read+write MCP server read-only by denying just the write tools. Omit or set `null` to deny nothing. Ignored for other tool types.
3328
+ */
3329
+ denied_actions?: Array<string>;
3318
3330
  /**
3319
3331
  * Fixed parameters merged into every soat tool call. Keys matching fields in the action's input schema are removed from the schema shown to the model and injected automatically at execution time.
3320
3332
  */
@@ -3359,6 +3371,10 @@ type UpdateToolRequest = {
3359
3371
  * Allowlist of actions. For `soat` tools: SOAT platform action names. For `mcp` tools: an optional allowlist of MCP tool names to scope the server surface (`null` exposes every tool). Ignored for other tool types.
3360
3372
  */
3361
3373
  actions?: Array<string> | null;
3374
+ /**
3375
+ * For `mcp` tools: an optional denylist of MCP tool names to hide. Applied after `actions` and taking precedence over it. Use it to scope a read+write MCP server read-only by denying just the write tools. `null` denies nothing. Ignored for other tool types.
3376
+ */
3377
+ denied_actions?: Array<string> | null;
3362
3378
  /**
3363
3379
  * Fixed parameters merged into every soat tool call. Keys matching fields in the action's input schema are removed from the schema shown to the model and injected automatically at execution time.
3364
3380
  */
@@ -3384,7 +3400,7 @@ type UpdateToolRequest = {
3384
3400
  };
3385
3401
  type CallToolRequest = {
3386
3402
  /**
3387
- * For `soat` tools: the action name (must be in the tool's `actions` list). For `mcp` tools: the MCP tool name to invoke (must be in the tool's `actions` allowlist when one is set). Ignored for `http` tools.
3403
+ * For `soat` tools: the action name (must be in the tool's `actions` list). For `mcp` tools: the MCP tool name to invoke (must be in the tool's `actions` allowlist when one is set, and must not be in its `denied_actions` denylist). Ignored for `http` tools.
3388
3404
  *
3389
3405
  */
3390
3406
  action?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soat/sdk",
3
- "version": "0.14.11",
3
+ "version": "0.14.12",
4
4
  "description": "TypeScript SDK for the SOAT API",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",