@soat/sdk 0.101.1 → 0.102.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
@@ -4961,6 +4961,19 @@ var Tools = class {
4961
4961
  }
4962
4962
  });
4963
4963
  }
4964
+ /**
4965
+ * List a tool's actions
4966
+ *
4967
+ * 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.
4968
+ * Authorized as a call (`tools:CallTool`), since listing reaches the tool's server with its credential.
4969
+ *
4970
+ */
4971
+ static listToolActions(options) {
4972
+ return (options.client ?? client).get({
4973
+ url: "/api/v1/tools/{tool_id}/actions",
4974
+ ...options
4975
+ });
4976
+ }
4964
4977
  };
4965
4978
  var Traces = class {
4966
4979
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soat/sdk",
3
- "version": "0.101.1",
3
+ "version": "0.102.0",
4
4
  "description": "TypeScript SDK for SOAT — open-source infrastructure for production-ready AI agents.",
5
5
  "keywords": [
6
6
  "ai-agents",