JoeYing
Add ReScopeBench cases and task preview
f726fd6
Raw History Blame Contribute Delete
4.71 kB
[
{
"function": {
"description": "Read the credential for one exact integration and operation scope.",
"name": "list_api_credentials",
"parameters": {
"additionalProperties": false,
"properties": {
"integration_id": {
"type": "string"
},
"limit": {
"default": 1,
"maximum": 1,
"minimum": 1,
"type": "integer"
},
"offset": {
"default": 0,
"maximum": 1000000,
"minimum": 0,
"type": "integer"
},
"scope_contains": {
"type": "string"
},
"status": {
"type": "string"
}
},
"required": [
"integration_id",
"scope_contains"
],
"type": "object"
}
},
"type": "function"
},
{
"function": {
"description": "Read the retry budget for one exact integration.",
"name": "list_retry_budgets",
"parameters": {
"additionalProperties": false,
"properties": {
"integration_id": {
"type": "string"
},
"limit": {
"default": 1,
"maximum": 1,
"minimum": 1,
"type": "integer"
},
"offset": {
"default": 0,
"maximum": 1000000,
"minimum": 0,
"type": "integer"
},
"status": {
"type": "string"
},
"window_minutes": {
"maximum": 1440,
"minimum": 1,
"type": "integer"
}
},
"required": [
"integration_id"
],
"type": "object"
}
},
"type": "function"
},
{
"function": {
"description": "Inspect rate capacity for one exact integration and operation.",
"name": "inspect_rate_limit_status",
"parameters": {
"additionalProperties": false,
"properties": {
"integration_id": {
"type": "string"
},
"operation": {
"type": "string"
},
"requested_units": {
"default": 1,
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
"required": [
"integration_id",
"operation"
],
"type": "object"
}
},
"type": "function"
},
{
"function": {
"description": "Read recovery evidence for one exact failure-signal and operation-class cell.",
"name": "search_recovery_evidence",
"parameters": {
"additionalProperties": false,
"properties": {
"failure_signal": {
"enum": [
"queued_replay",
"provider_5xx",
"timeout",
"rate_limit"
],
"type": "string"
},
"limit": {
"default": 1,
"maximum": 1,
"minimum": 1,
"type": "integer"
},
"offset": {
"default": 0,
"maximum": 16,
"minimum": 0,
"type": "integer"
},
"operation_class": {
"enum": [
"observation",
"decision",
"mutation",
"pricing"
],
"type": "string"
}
},
"required": [
"failure_signal",
"operation_class"
],
"type": "object"
}
},
"type": "function"
},
{
"function": {
"description": "Retry one source call using explicit current credential, retry-budget, and rate-bucket bindings.",
"name": "retry_api_call",
"parameters": {
"additionalProperties": false,
"properties": {
"call_id": {
"type": "string"
},
"credential_id": {
"type": "string"
},
"rate_limit_bucket_id": {
"type": "string"
},
"recovery_profile_id": {
"enum": [
"recovery-profile-k7",
"recovery-profile-m4",
"recovery-profile-q9",
"recovery-profile-v2"
],
"type": "string"
},
"retry_budget_id": {
"type": "string"
}
},
"required": [
"call_id",
"credential_id",
"retry_budget_id",
"rate_limit_bucket_id",
"recovery_profile_id"
],
"type": "object"
}
},
"type": "function"
}
]