@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.cjs CHANGED
@@ -4962,6 +4962,19 @@ var Tools = class {
4962
4962
  }
4963
4963
  });
4964
4964
  }
4965
+ /**
4966
+ * List a tool's actions
4967
+ *
4968
+ * 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.
4969
+ * Authorized as a call (`tools:CallTool`), since listing reaches the tool's server with its credential.
4970
+ *
4971
+ */
4972
+ static listToolActions(options) {
4973
+ return (options.client ?? client).get({
4974
+ url: "/api/v1/tools/{tool_id}/actions",
4975
+ ...options
4976
+ });
4977
+ }
4965
4978
  };
4966
4979
  var Traces = class {
4967
4980
  /**