ds_execute_rule
Execute iRODS rules by name or inline text, binding parameters, validating path access, and returning output parameters and iRODS stdout/stderr.
Instructions
Run an iRODS rule. Supply either rule_name (server-installed) or rule_text (inline iRL). Output parameters are returned as a dict; iRODS stdout/stderr are returned when output_parameters includes 'ruleExecOut'. Path-typed input parameters are checked against the caller's accessible paths before the rule fires.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ds_execute_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule_name | No | Name of a server-installed rule to invoke. | |
| rule_text | No | Inline iRL fragment to execute. | |
| instance_name | No | Rule engine instance to target. | irods_rule_engine_plugin-irods_rule_language-instance |
| input_parameters | No | Input parameters bound into the rule body. | |
| output_parameters | No | Names of rule output parameters to return. |