ds_create_ticket
Create a read or write iRODS ticket on a data object or collection to grant restricted access with optional expiry, use limits, host, user, or write-byte limits.
Instructions
Create a read or write iRODS ticket on a data object or collection. Returns the ticket string plus the restrictions that were applied. Anonymous users may not create tickets.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"mode": "<mode>"
},
"name": "ds_create_ticket"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Ticket access mode: 'read' or 'write'. | |
| path | Yes | The iRODS path the ticket grants access to. | |
| expiry | No | ISO-8601 timestamp at which the ticket expires. | |
| uses_allowed | No | Maximum number of times this ticket may be used. | |
| host_restriction | No | Restrict ticket usage to clients connecting from this host. | |
| user_restriction | No | Restrict ticket usage to this iRODS user. | |
| write_byte_limit | No | Maximum bytes that may be written via this ticket (write tickets only). |