@naturali/sdk 0.225.0 → 0.226.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/dist/index.mjs CHANGED
@@ -5901,6 +5901,19 @@ var Tools = class {
5901
5901
  }
5902
5902
  });
5903
5903
  }
5904
+ /**
5905
+ * List a tool's actions
5906
+ *
5907
+ * Lists the actions an `mcp` tool exposes, read from its server's `tools/list` with the tool's `mcp.headers` resolved server-side: each action's `name`, `description` and `input_schema`, as a model bound to the tool sees them. `actions` and `denied_actions` apply, and a `preset_parameters` key an action's schema declares is removed from that schema. Other tool types are `400`. The server answers its whole listing in one call; `limit` and `cursor` page what it returned, in its order.
5908
+ * Authorized as a call (`tools:CallTool`), since listing reaches the tool's server with its credential.
5909
+ *
5910
+ */
5911
+ static listToolActions(options) {
5912
+ return (options.client ?? client).get({
5913
+ url: "/v1/projects/{project_id}/tools/{tool_id}/actions",
5914
+ ...options
5915
+ });
5916
+ }
5904
5917
  };
5905
5918
  var Traces = class {
5906
5919
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturali/sdk",
3
- "version": "0.225.0",
3
+ "version": "0.226.0",
4
4
  "description": "TypeScript SDK for the naturali.ai API, generated from its OpenAPI specs",
5
5
  "keywords": [
6
6
  "naturali",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "devDependencies": {
40
40
  "@hey-api/openapi-ts": "^0.99.0",
41
- "@naturali/api": "0.225.0",
41
+ "@naturali/api": "0.226.0",
42
42
  "@ttoss/openapi-codegen": "^0.10.0",
43
43
  "@types/node": "^26.5.1",
44
44
  "tsdown": "^0.23.0",