Implementation
gradeNot graded
gradeNot graded
concord.statusAnswer
Given an idempotency key, reports whether that step was carried out, and what it returned. Performs nothing. Used to resolve a commitment interrupted mid-flight.
View tool JSON
{
"name": "concord.status",
"kind": "answer",
"impl": "imperative",
"description": "Given an idempotency key, reports whether that step was carried out, and what it returned. Performs nothing. Used to resolve a commitment interrupted mid-flight.",
"inputSchema": {
"type": "object",
"properties": {
"lookupKey": {
"type": "string",
"description": "The idempotency key to look up"
}
},
"required": [
"lookupKey"
]
}
}concord.attest_nothingAction
For a commitment this participant was named in but performed no step of, returns a signed statement saying so, so that its silence in the receipt is provable rather than merely absent. Performs nothing, and refuses if this participant did act.
View tool JSON
{
"name": "concord.attest_nothing",
"kind": "act",
"impl": "imperative",
"description": "For a commitment this participant was named in but performed no step of, returns a signed statement saying so, so that its silence in the receipt is provable rather than merely absent. Performs nothing, and refuses if this participant did act.",
"inputSchema": {
"type": "object",
"properties": {
"sagaId": {
"type": "string",
"description": "The commitment it took no part in"
},
"parties": {
"type": "array",
"items": {
"type": "string"
},
"description": "Every party to it"
},
"plan": {
"type": "object",
"description": "The shape of the whole commitment"
}
},
"required": [
"sagaId"
]
}
}hold_passAction
reserve on Skyline Lounge
View tool JSON
{
"name": "hold_pass",
"kind": "act",
"impl": "imperative",
"description": "reserve on Skyline Lounge",
"inputSchema": {
"type": "object",
"properties": {
"idempotencyKey": {
"type": "string",
"description": "Stable key for this step; a repeat returns the first result"
},
"sagaId": {
"type": "string",
"description": "The commitment this step belongs to; it is covered by the signature"
},
"parties": {
"type": "array",
"items": {
"type": "string"
},
"description": "Every vendor in this commitment"
},
"plan": {
"type": "object",
"description": "The shape of the whole commitment — who is party to it, what guarantee was computed, and every step it consists of. Signed, so no statement can be quietly dropped from the receipt afterwards"
},
"guests": {
"type": "number",
"description": "How many"
}
},
"required": [
"idempotencyKey"
]
}
}issue_passAction
confirm on Skyline Lounge
View tool JSON
{
"name": "issue_pass",
"kind": "act",
"impl": "imperative",
"description": "confirm on Skyline Lounge",
"inputSchema": {
"type": "object",
"properties": {
"idempotencyKey": {
"type": "string",
"description": "Stable key for this step; a repeat returns the first result"
},
"sagaId": {
"type": "string",
"description": "The commitment this step belongs to; it is covered by the signature"
},
"parties": {
"type": "array",
"items": {
"type": "string"
},
"description": "Every vendor in this commitment"
},
"plan": {
"type": "object",
"description": "The shape of the whole commitment — who is party to it, what guarantee was computed, and every step it consists of. Signed, so no statement can be quietly dropped from the receipt afterwards"
},
"ref": {
"type": "string",
"description": "Reference from the earlier step"
}
},
"required": [
"idempotencyKey"
]
}
}drop_holdSensitive Action
cancel on Skyline Lounge
View tool JSON
{
"name": "drop_hold",
"kind": "transact",
"impl": "imperative",
"description": "cancel on Skyline Lounge",
"inputSchema": {
"type": "object",
"properties": {
"idempotencyKey": {
"type": "string",
"description": "Stable key for this step; a repeat returns the first result"
},
"sagaId": {
"type": "string",
"description": "The commitment this step belongs to; it is covered by the signature"
},
"parties": {
"type": "array",
"items": {
"type": "string"
},
"description": "Every vendor in this commitment"
},
"plan": {
"type": "object",
"description": "The shape of the whole commitment — who is party to it, what guarantee was computed, and every step it consists of. Signed, so no statement can be quietly dropped from the receipt afterwards"
},
"ref": {
"type": "string",
"description": "Reference from the earlier step"
}
},
"required": [
"idempotencyKey"
]
}
}concord.protocolAction
How lounge can take part in a multi-vendor commitment: which tools reserve, confirm, cancel, execute or compensate, and whether anything here can be undone.
View tool JSON
{
"name": "concord.protocol",
"kind": "act",
"impl": "imperative",
"description": "How lounge can take part in a multi-vendor commitment: which tools reserve, confirm, cancel, execute or compensate, and whether anything here can be undone.",
"inputSchema": {
"type": "object",
"properties": {}
}
}