ToolRequest
@mandaitor/sdk / ToolRequest
Interface: ToolRequest
Defined in: @mandaitor/sdk/dist/executions.d.ts:50
A mandaitor.tool-request/v1, without its contract, which the client adds.
Properties
arguments
arguments:
Record<string,unknown>
Defined in: @mandaitor/sdk/dist/executions.d.ts:56
Identifiers only, as the tool's arguments_schema (GET /tools) allows.
idempotency_key
idempotency_key:
string
Defined in: @mandaitor/sdk/dist/executions.d.ts:61
8 to 128 visible ASCII characters. The same key with the same request returns the same execution, so a retry never writes twice.
mandate_id?
optionalmandate_id?:string
Defined in: @mandaitor/sdk/dist/executions.d.ts:63
The mandate the agent believes covers the call. A hint only.
purpose?
optionalpurpose?:string
Defined in: @mandaitor/sdk/dist/executions.d.ts:65
Shown to an approver. Never used in the decision.
tool
tool:
string
Defined in: @mandaitor/sdk/dist/executions.d.ts:52
The tool's id, e.g. sap.purchase_requisition.release.
tool_version?
optionaltool_version?:number
Defined in: @mandaitor/sdk/dist/executions.d.ts:54
Pins a definition version; it must be the version the tenant enabled.