BRAINIAC Agent Execution Contract Intelligence
Paid Agent Execution Contract Intelligence API via x402. Unpaid tool calls return 402.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (16)
- LOWin agent-contracts_expiry-contract-check
- LOWin agent-contracts_expiry-contract-check
- LOWin agent-contracts_retry-safety-check
- LOWin agent-contracts_retry-safety-check
- LOWin agent-contracts_idempotency-audit
- LOWin agent-contracts_idempotency-audit
- LOWin agent-contracts_pagination-contract-check
- LOWin agent-contracts_pagination-contract-check
- LOWin agent-contracts_error-recovery-audit
- LOWin agent-contracts_error-recovery-audit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"agent-contracts": {
"url": "https://www.brainiac.software/mcp/agent-contracts"
}
}
}Remote-Endpunkte
https://www.brainiac.software/mcp/agent-contractsstreamable-httpWas es kann
Tool-Inventar
Tools (8)
🟢agent-contracts_expiry-contract-check(operations, workflows, openapi)
Find presigned URLs and access tokens in caller-supplied operations that do not state a lifetime, and sentences that both expire and never expire. Docs: https://www.brainiac.software/api/agent-contracts/expiry-contract-check Keywords: before an agent executes a tool or payment, operations, workflows, openapi, success, analysis, score, issues, warnings, recommendations, Check expiry contracts, expiry contract check.
Eingabe-Schema
{
"type": "object",
"properties": {
"operations": {
"description": "operations, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "name, string, length 1 to 160. Required."
},
"method": {
"description": "method, string, length 0 to 16. Optional.",
"type": "string",
"maxLength": 16
},
"path": {
"description": "path, string, length 0 to 400. Optional.",
"type": "string",
"maxLength": 400
},
"description": {
"description": "description, string, length 0 to 8000. Optional.",
"type": "string",
"maxLength": 8000
},
"summary": {
"description": "summary, string, length 0 to 1000. Optional.",
"type": "string",
"maxLength": 1000
},
"parameters": {
"description": "parameters, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "name, string, length 1 to 120. Required."
},
"in": {
"description": "in, string, one of query, header, path, cookie, body. Optional.",
"type": "string",
"enum": [
"query",
"header",
"path",
"cookie",
"body"
]
},
"description": {
"description": "description, string, length 0 to 4000. Optional.",
"type": "string",
"maxLength": 4000
},
"required": {
"description": "required, boolean. Optional.",
"type": "boolean"
},
"schema": {
"description": "schema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
},
"requestSchema": {
"description": "requestSchema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
},
"outputSchema": {
"description": "outputSchema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
},
"responses": {
"description": "responses, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"status": {
"description": "status, string, length 0 to 40. Optional.",
"type": "string",
"maxLength": 40
},
"description": {
"description": "description, string, length 0 to 4000. Optional.",
"type": "string",
"maxLength": 4000
},
"schema": {
"description": "schema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
},
"example": {
"description": "example, value. Optional."
},
"examples": {
"description": "examples, array. Optional.",
"type": "array",
"items": {
"description": "item, value. Required."
}
}
},
"description": "item, object. Required."
}
},
"examples": {
"description": "examples, array. Optional.",
"type": "array",
"items": {
"description": "item, value. Required."
}
},
"steps": {
"description": "steps, array. Optional.",
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "item, string, length 1 to 200. Required."
}
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
},
"workflows": {
"description": "workflows, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "name, string, length 1 to 160. Required."
},
"description": {
"description": "description, string, length 0 to 8000. Optional.",
"type": "string",
"maxLength": 8000
},
"states": {
"description": "states, array. Optional.",
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "item, string, length 1 to 80. Required."
}
},
"transitions": {
"description": "transitions, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"from": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "from, string, length 1 to 80. Required."
},
"to": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "to, string, length 1 to 80. Required."
},
"operation": {
"description": "operation, string, length 0 to 160. Optional.",
"type": "string",
"maxLength": 160
},
"on": {
"description": "on, string, length 0 to 200. Optional.",
"type": "string",
"maxLength": 200
}
},
"required": [
"from",
"to"
],
"description": "item, object. Required."
}
},
"steps": {
"description": "steps, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "name, string, length 1 to 160. Required."
},
"description": {
"description": "description, string, length 0 to 4000. Optional.",
"type": "string",
"maxLength": 4000
},
"operation": {
"description": "operation, string, length 0 to 160. Optional.",
"type": "string",
"maxLength": 160
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
},
"openapi": {
"description": "openapi, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"success": {
"type": "boolean",
"description": "success. Boolean."
},
"analysis": {
"type": "string",
"description": "analysis. String."
},
"score": {
"type": "number",
"description": "score. Number."
},
"issues": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "type. String."
},
"severity": {
"type": "string",
"description": "severity. String."
},
"description": {
"type": "string",
"description": "description. String."
},
"evidence": {
"type": "string",
"description": "evidence. String."
},
"location": {
"type": "string",
"description": "location. String."
},
"agent_impact": {
"type": "string",
"description": "agent_impact. String."
},
"suggested_fix": {
"type": "string",
"description": "suggested_fix. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "issues. Array."
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "warnings. Array."
},
"recommendations": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "recommendations. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢agent-contracts_retry-safety-check(operations, workflows, openapi)
Read caller-supplied retry sentences and timeout statuses. Docs: https://www.brainiac.software/api/agent-contracts/retry-safety-check Keywords: before an agent executes a tool or payment, operations, workflows, openapi, success, analysis, score, issues, warnings, recommendations, Check retry safety contracts, retry safety check.
Eingabe-Schema
{
"type": "object",
"properties": {
"operations": {
"description": "operations, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "name, string, length 1 to 160. Required."
},
"method": {
"description": "method, string, length 0 to 16. Optional.",
"type": "string",
"maxLength": 16
},
"path": {
"description": "path, string, length 0 to 400. Optional.",
"type": "string",
"maxLength": 400
},
"description": {
"description": "description, string, length 0 to 8000. Optional.",
"type": "string",
"maxLength": 8000
},
"summary": {
"description": "summary, string, length 0 to 1000. Optional.",
"type": "string",
"maxLength": 1000
},
"parameters": {
"description": "parameters, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "name, string, length 1 to 120. Required."
},
"in": {
"description": "in, string, one of query, header, path, cookie, body. Optional.",
"type": "string",
"enum": [
"query",
"header",
"path",
"cookie",
"body"
]
},
"description": {
"description": "description, string, length 0 to 4000. Optional.",
"type": "string",
"maxLength": 4000
},
"required": {
"description": "required, boolean. Optional.",
"type": "boolean"
},
"schema": {
"description": "schema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
},
"requestSchema": {
"description": "requestSchema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
},
"outputSchema": {
"description": "outputSchema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
},
"responses": {
"description": "responses, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"status": {
"description": "status, string, length 0 to 40. Optional.",
"type": "string",
"maxLength": 40
},
"description": {
"description": "description, string, length 0 to 4000. Optional.",
"type": "string",
"maxLength": 4000
},
"schema": {
"description": "schema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
},
"example": {
"description": "example, value. Optional."
},
"examples": {
"description": "examples, array. Optional.",
"type": "array",
"items": {
"description": "item, value. Required."
}
}
},
"description": "item, object. Required."
}
},
"examples": {
"description": "examples, array. Optional.",
"type": "array",
"items": {
"description": "item, value. Required."
}
},
"steps": {
"description": "steps, array. Optional.",
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "item, string, length 1 to 200. Required."
}
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
},
"workflows": {
"description": "workflows, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "name, string, length 1 to 160. Required."
},
"description": {
"description": "description, string, length 0 to 8000. Optional.",
"type": "string",
"maxLength": 8000
},
"states": {
"description": "states, array. Optional.",
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "item, string, length 1 to 80. Required."
}
},
"transitions": {
"description": "transitions, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"from": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "from, string, length 1 to 80. Required."
},
"to": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "to, string, length 1 to 80. Required."
},
"operation": {
"description": "operation, string, length 0 to 160. Optional.",
"type": "string",
"maxLength": 160
},
"on": {
"description": "on, string, length 0 to 200. Optional.",
"type": "string",
"maxLength": 200
}
},
"required": [
"from",
"to"
],
"description": "item, object. Required."
}
},
"steps": {
"description": "steps, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "name, string, length 1 to 160. Required."
},
"description": {
"description": "description, string, length 0 to 4000. Optional.",
"type": "string",
"maxLength": 4000
},
"operation": {
"description": "operation, string, length 0 to 160. Optional.",
"type": "string",
"maxLength": 160
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
},
"openapi": {
"description": "openapi, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"success": {
"type": "boolean",
"description": "success. Boolean."
},
"analysis": {
"type": "string",
"description": "analysis. String."
},
"score": {
"type": "number",
"description": "score. Number."
},
"issues": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "type. String."
},
"severity": {
"type": "string",
"description": "severity. String."
},
"description": {
"type": "string",
"description": "description. String."
},
"evidence": {
"type": "string",
"description": "evidence. String."
},
"location": {
"type": "string",
"description": "location. String."
},
"agent_impact": {
"type": "string",
"description": "agent_impact. String."
},
"suggested_fix": {
"type": "string",
"description": "suggested_fix. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "issues. Array."
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "type. String."
},
"severity": {
"type": "string",
"description": "severity. String."
},
"description": {
"type": "string",
"description": "description. String."
},
"evidence": {
"type": "string",
"description": "evidence. String."
},
"location": {
"type": "string",
"description": "location. String."
},
"agent_impact": {
"type": "string",
"description": "agent_impact. String."
},
"suggested_fix": {
"type": "string",
"description": "suggested_fix. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "warnings. Array."
},
"recommendations": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "recommendations. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢agent-contracts_idempotency-audit(operations, workflows, openapi)
Find create or update sentences that do not name an idempotency key or a replay result. Docs: https://www.brainiac.software/api/agent-contracts/idempotency-audit Keywords: before an agent executes a tool or payment, operations, workflows, openapi, success, analysis, score, issues, warnings, recommendations, Audit idempotency contracts, idempotency audit.
Eingabe-Schema
{
"type": "object",
"properties": {
"operations": {
"description": "operations, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "name, string, length 1 to 160. Required."
},
"method": {
"description": "method, string, length 0 to 16. Optional.",
"type": "string",
"maxLength": 16
},
"path": {
"description": "path, string, length 0 to 400. Optional.",
"type": "string",
"maxLength": 400
},
"description": {
"description": "description, string, length 0 to 8000. Optional.",
"type": "string",
"maxLength": 8000
},
"summary": {
"description": "summary, string, length 0 to 1000. Optional.",
"type": "string",
"maxLength": 1000
},
"parameters": {
"description": "parameters, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "name, string, length 1 to 120. Required."
},
"in": {
"description": "in, string, one of query, header, path, cookie, body. Optional.",
"type": "string",
"enum": [
"query",
"header",
"path",
"cookie",
"body"
]
},
"description": {
"description": "description, string, length 0 to 4000. Optional.",
"type": "string",
"maxLength": 4000
},
"required": {
"description": "required, boolean. Optional.",
"type": "boolean"
},
"schema": {
"description": "schema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
},
"requestSchema": {
"description": "requestSchema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
},
"outputSchema": {
"description": "outputSchema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
},
"responses": {
"description": "responses, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"status": {
"description": "status, string, length 0 to 40. Optional.",
"type": "string",
"maxLength": 40
},
"description": {
"description": "description, string, length 0 to 4000. Optional.",
"type": "string",
"maxLength": 4000
},
"schema": {
"description": "schema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
},
"example": {
"description": "example, value. Optional."
},
"examples": {
"description": "examples, array. Optional.",
"type": "array",
"items": {
"description": "item, value. Required."
}
}
},
"description": "item, object. Required."
}
},
"examples": {
"description": "examples, array. Optional.",
"type": "array",
"items": {
"description": "item, value. Required."
}
},
"steps": {
"description": "steps, array. Optional.",
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "item, string, length 1 to 200. Required."
}
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
},
"workflows": {
"description": "workflows, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "name, string, length 1 to 160. Required."
},
"description": {
"description": "description, string, length 0 to 8000. Optional.",
"type": "string",
"maxLength": 8000
},
"states": {
"description": "states, array. Optional.",
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "item, string, length 1 to 80. Required."
}
},
"transitions": {
"description": "transitions, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"from": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "from, string, length 1 to 80. Required."
},
"to": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "to, string, length 1 to 80. Required."
},
"operation": {
"description": "operation, string, length 0 to 160. Optional.",
"type": "string",
"maxLength": 160
},
"on": {
"description": "on, string, length 0 to 200. Optional.",
"type": "string",
"maxLength": 200
}
},
"required": [
"from",
"to"
],
"description": "item, object. Required."
}
},
"steps": {
"description": "steps, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "name, string, length 1 to 160. Required."
},
"description": {
"description": "description, string, length 0 to 4000. Optional.",
"type": "string",
"maxLength": 4000
},
"operation": {
"description": "operation, string, length 0 to 160. Optional.",
"type": "string",
"maxLength": 160
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
},
"openapi": {
"description": "openapi, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"success": {
"type": "boolean",
"description": "success. Boolean."
},
"analysis": {
"type": "string",
"description": "analysis. String."
},
"score": {
"type": "number",
"description": "score. Number."
},
"issues": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "type. String."
},
"severity": {
"type": "string",
"description": "severity. String."
},
"description": {
"type": "string",
"description": "description. String."
},
"evidence": {
"type": "string",
"description": "evidence. String."
},
"location": {
"type": "string",
"description": "location. String."
},
"agent_impact": {
"type": "string",
"description": "agent_impact. String."
},
"suggested_fix": {
"type": "string",
"description": "suggested_fix. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "issues. Array."
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "warnings. Array."
},
"recommendations": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "recommendations. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢agent-contracts_pagination-contract-check(operations, workflows, openapi)
Find page or cursor operations in caller-supplied OpenAPI or tool definitions that omit the next-page field, the end condition, or which of cursor and offset to follow. Docs: https://www.brainiac.software/api/agent-contracts/pagination-contract-check Keywords: before an agent executes a tool or payment, operations, workflows, openapi, success, analysis, score, issues, warnings, recommendations, Check pagination contracts, pagination contract check.
Eingabe-Schema
{
"type": "object",
"properties": {
"operations": {
"description": "operations, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "name, string, length 1 to 160. Required."
},
"method": {
"description": "method, string, length 0 to 16. Optional.",
"type": "string",
"maxLength": 16
},
"path": {
"description": "path, string, length 0 to 400. Optional.",
"type": "string",
"maxLength": 400
},
"description": {
"description": "description, string, length 0 to 8000. Optional.",
"type": "string",
"maxLength": 8000
},
"summary": {
"description": "summary, string, length 0 to 1000. Optional.",
"type": "string",
"maxLength": 1000
},
"parameters": {
"description": "parameters, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "name, string, length 1 to 120. Required."
},
"in": {
"description": "in, string, one of query, header, path, cookie, body. Optional.",
"type": "string",
"enum": [
"query",
"header",
"path",
"cookie",
"body"
]
},
"description": {
"description": "description, string, length 0 to 4000. Optional.",
"type": "string",
"maxLength": 4000
},
"required": {
"description": "required, boolean. Optional.",
"type": "boolean"
},
"schema": {
"description": "schema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
},
"requestSchema": {
"description": "requestSchema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
},
"outputSchema": {
"description": "outputSchema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
},
"responses": {
"description": "responses, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"status": {
"description": "status, string, length 0 to 40. Optional.",
"type": "string",
"maxLength": 40
},
"description": {
"description": "description, string, length 0 to 4000. Optional.",
"type": "string",
"maxLength": 4000
},
"schema": {
"description": "schema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
},
"example": {
"description": "example, value. Optional."
},
"examples": {
"description": "examples, array. Optional.",
"type": "array",
"items": {
"description": "item, value. Required."
}
}
},
"description": "item, object. Required."
}
},
"examples": {
"description": "examples, array. Optional.",
"type": "array",
"items": {
"description": "item, value. Required."
}
},
"steps": {
"description": "steps, array. Optional.",
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "item, string, length 1 to 200. Required."
}
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
},
"workflows": {
"description": "workflows, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "name, string, length 1 to 160. Required."
},
"description": {
"description": "description, string, length 0 to 8000. Optional.",
"type": "string",
"maxLength": 8000
},
"states": {
"description": "states, array. Optional.",
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "item, string, length 1 to 80. Required."
}
},
"transitions": {
"description": "transitions, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"from": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "from, string, length 1 to 80. Required."
},
"to": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "to, string, length 1 to 80. Required."
},
"operation": {
"description": "operation, string, length 0 to 160. Optional.",
"type": "string",
"maxLength": 160
},
"on": {
"description": "on, string, length 0 to 200. Optional.",
"type": "string",
"maxLength": 200
}
},
"required": [
"from",
"to"
],
"description": "item, object. Required."
}
},
"steps": {
"description": "steps, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "name, string, length 1 to 160. Required."
},
"description": {
"description": "description, string, length 0 to 4000. Optional.",
"type": "string",
"maxLength": 4000
},
"operation": {
"description": "operation, string, length 0 to 160. Optional.",
"type": "string",
"maxLength": 160
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
},
"openapi": {
"description": "openapi, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"success": {
"type": "boolean",
"description": "success. Boolean."
},
"analysis": {
"type": "string",
"description": "analysis. String."
},
"score": {
"type": "number",
"description": "score. Number."
},
"issues": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "type. String."
},
"severity": {
"type": "string",
"description": "severity. String."
},
"description": {
"type": "string",
"description": "description. String."
},
"evidence": {
"type": "string",
"description": "evidence. String."
},
"location": {
"type": "string",
"description": "location. String."
},
"agent_impact": {
"type": "string",
"description": "agent_impact. String."
},
"suggested_fix": {
"type": "string",
"description": "suggested_fix. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "issues. Array."
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "warnings. Array."
},
"recommendations": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "recommendations. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢agent-contracts_error-recovery-audit(operations, workflows, openapi)
Check whether caller-supplied 4xx and 5xx responses name a code, message, or field an agent can correct. Docs: https://www.brainiac.software/api/agent-contracts/error-recovery-audit Keywords: before an agent executes a tool or payment, operations, workflows, openapi, success, analysis, score, issues, warnings, recommendations, Audit error recovery contracts, error recovery audit.
Eingabe-Schema
{
"type": "object",
"properties": {
"operations": {
"description": "operations, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "name, string, length 1 to 160. Required."
},
"method": {
"description": "method, string, length 0 to 16. Optional.",
"type": "string",
"maxLength": 16
},
"path": {
"description": "path, string, length 0 to 400. Optional.",
"type": "string",
"maxLength": 400
},
"description": {
"description": "description, string, length 0 to 8000. Optional.",
"type": "string",
"maxLength": 8000
},
"summary": {
"description": "summary, string, length 0 to 1000. Optional.",
"type": "string",
"maxLength": 1000
},
"parameters": {
"description": "parameters, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "name, string, length 1 to 120. Required."
},
"in": {
"description": "in, string, one of query, header, path, cookie, body. Optional.",
"type": "string",
"enum": [
"query",
"header",
"path",
"cookie",
"body"
]
},
"description": {
"description": "description, string, length 0 to 4000. Optional.",
"type": "string",
"maxLength": 4000
},
"required": {
"description": "required, boolean. Optional.",
"type": "boolean"
},
"schema": {
"description": "schema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
},
"requestSchema": {
"description": "requestSchema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
},
"outputSchema": {
"description": "outputSchema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
},
"responses": {
"description": "responses, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"status": {
"description": "status, string, length 0 to 40. Optional.",
"type": "string",
"maxLength": 40
},
"description": {
"description": "description, string, length 0 to 4000. Optional.",
"type": "string",
"maxLength": 4000
},
"schema": {
"description": "schema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
},
"example": {
"description": "example, value. Optional."
},
"examples": {
"description": "examples, array. Optional.",
"type": "array",
"items": {
"description": "item, value. Required."
}
}
},
"description": "item, object. Required."
}
},
"examples": {
"description": "examples, array. Optional.",
"type": "array",
"items": {
"description": "item, value. Required."
}
},
"steps": {
"description": "steps, array. Optional.",
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "item, string, length 1 to 200. Required."
}
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
},
"workflows": {
"description": "workflows, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "name, string, length 1 to 160. Required."
},
"description": {
"description": "description, string, length 0 to 8000. Optional.",
"type": "string",
"maxLength": 8000
},
"states": {
"description": "states, array. Optional.",
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "item, string, length 1 to 80. Required."
}
},
"transitions": {
"description": "transitions, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"from": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "from, string, length 1 to 80. Required."
},
"to": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "to, string, length 1 to 80. Required."
},
"operation": {
"description": "operation, string, length 0 to 160. Optional.",
"type": "string",
"maxLength": 160
},
"on": {
"description": "on, string, length 0 to 200. Optional.",
"type": "string",
"maxLength": 200
}
},
"required": [
"from",
"to"
],
"description": "item, object. Required."
}
},
"steps": {
"description": "steps, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "name, string, length 1 to 160. Required."
},
"description": {
"description": "description, string, length 0 to 4000. Optional.",
"type": "string",
"maxLength": 4000
},
"operation": {
"description": "operation, string, length 0 to 160. Optional.",
"type": "string",
"maxLength": 160
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
},
"openapi": {
"description": "openapi, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"success": {
"type": "boolean",
"description": "success. Boolean."
},
"analysis": {
"type": "string",
"description": "analysis. String."
},
"score": {
"type": "number",
"description": "score. Number."
},
"issues": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "type. String."
},
"severity": {
"type": "string",
"description": "severity. String."
},
"description": {
"type": "string",
"description": "description. String."
},
"evidence": {
"type": "string",
"description": "evidence. String."
},
"location": {
"type": "string",
"description": "location. String."
},
"agent_impact": {
"type": "string",
"description": "agent_impact. String."
},
"suggested_fix": {
"type": "string",
"description": "suggested_fix. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "issues. Array."
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "warnings. Array."
},
"recommendations": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "recommendations. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢agent-contracts_output-contract-check(operations, workflows, openapi)
Compare caller-supplied success examples with their output schemas for type, enum, required fields, and extra properties. Docs: https://www.brainiac.software/api/agent-contracts/output-contract-check Keywords: before an agent executes a tool or payment, operations, workflows, openapi, success, analysis, score, issues, warnings, recommendations, Check output contracts, output contract check.
Eingabe-Schema
{
"type": "object",
"properties": {
"operations": {
"description": "operations, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "name, string, length 1 to 160. Required."
},
"method": {
"description": "method, string, length 0 to 16. Optional.",
"type": "string",
"maxLength": 16
},
"path": {
"description": "path, string, length 0 to 400. Optional.",
"type": "string",
"maxLength": 400
},
"description": {
"description": "description, string, length 0 to 8000. Optional.",
"type": "string",
"maxLength": 8000
},
"summary": {
"description": "summary, string, length 0 to 1000. Optional.",
"type": "string",
"maxLength": 1000
},
"parameters": {
"description": "parameters, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "name, string, length 1 to 120. Required."
},
"in": {
"description": "in, string, one of query, header, path, cookie, body. Optional.",
"type": "string",
"enum": [
"query",
"header",
"path",
"cookie",
"body"
]
},
"description": {
"description": "description, string, length 0 to 4000. Optional.",
"type": "string",
"maxLength": 4000
},
"required": {
"description": "required, boolean. Optional.",
"type": "boolean"
},
"schema": {
"description": "schema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
},
"requestSchema": {
"description": "requestSchema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
},
"outputSchema": {
"description": "outputSchema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
},
"responses": {
"description": "responses, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"status": {
"description": "status, string, length 0 to 40. Optional.",
"type": "string",
"maxLength": 40
},
"description": {
"description": "description, string, length 0 to 4000. Optional.",
"type": "string",
"maxLength": 4000
},
"schema": {
"description": "schema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
},
"example": {
"description": "example, value. Optional."
},
"examples": {
"description": "examples, array. Optional.",
"type": "array",
"items": {
"description": "item, value. Required."
}
}
},
"description": "item, object. Required."
}
},
"examples": {
"description": "examples, array. Optional.",
"type": "array",
"items": {
"description": "item, value. Required."
}
},
"steps": {
"description": "steps, array. Optional.",
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "item, string, length 1 to 200. Required."
}
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
},
"workflows": {
"description": "workflows, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "name, string, length 1 to 160. Required."
},
"description": {
"description": "description, string, length 0 to 8000. Optional.",
"type": "string",
"maxLength": 8000
},
"states": {
"description": "states, array. Optional.",
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "item, string, length 1 to 80. Required."
}
},
"transitions": {
"description": "transitions, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"from": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "from, string, length 1 to 80. Required."
},
"to": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "to, string, length 1 to 80. Required."
},
"operation": {
"description": "operation, string, length 0 to 160. Optional.",
"type": "string",
"maxLength": 160
},
"on": {
"description": "on, string, length 0 to 200. Optional.",
"type": "string",
"maxLength": 200
}
},
"required": [
"from",
"to"
],
"description": "item, object. Required."
}
},
"steps": {
"description": "steps, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "name, string, length 1 to 160. Required."
},
"description": {
"description": "description, string, length 0 to 4000. Optional.",
"type": "string",
"maxLength": 4000
},
"operation": {
"description": "operation, string, length 0 to 160. Optional.",
"type": "string",
"maxLength": 160
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
},
"openapi": {
"description": "openapi, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"success": {
"type": "boolean",
"description": "success. Boolean."
},
"analysis": {
"type": "string",
"description": "analysis. String."
},
"score": {
"type": "number",
"description": "score. Number."
},
"issues": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "type. String."
},
"severity": {
"type": "string",
"description": "severity. String."
},
"description": {
"type": "string",
"description": "description. String."
},
"evidence": {
"type": "string",
"description": "evidence. String."
},
"location": {
"type": "string",
"description": "location. String."
},
"agent_impact": {
"type": "string",
"description": "agent_impact. String."
},
"suggested_fix": {
"type": "string",
"description": "suggested_fix. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "issues. Array."
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "warnings. Array."
},
"recommendations": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "recommendations. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢agent-contracts_state-transition-check(operations, workflows, openapi)
Find supplied workflow transitions that name an unknown state, two destinations for one trigger, or an operation that is not in the supplied list. Docs: https://www.brainiac.software/api/agent-contracts/state-transition-check Keywords: before an agent executes a tool or payment, operations, workflows, openapi, success, analysis, score, issues, warnings, recommendations, Check state transition contracts, state transition check.
Eingabe-Schema
{
"type": "object",
"properties": {
"operations": {
"description": "operations, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "name, string, length 1 to 160. Required."
},
"method": {
"description": "method, string, length 0 to 16. Optional.",
"type": "string",
"maxLength": 16
},
"path": {
"description": "path, string, length 0 to 400. Optional.",
"type": "string",
"maxLength": 400
},
"description": {
"description": "description, string, length 0 to 8000. Optional.",
"type": "string",
"maxLength": 8000
},
"summary": {
"description": "summary, string, length 0 to 1000. Optional.",
"type": "string",
"maxLength": 1000
},
"parameters": {
"description": "parameters, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "name, string, length 1 to 120. Required."
},
"in": {
"description": "in, string, one of query, header, path, cookie, body. Optional.",
"type": "string",
"enum": [
"query",
"header",
"path",
"cookie",
"body"
]
},
"description": {
"description": "description, string, length 0 to 4000. Optional.",
"type": "string",
"maxLength": 4000
},
"required": {
"description": "required, boolean. Optional.",
"type": "boolean"
},
"schema": {
"description": "schema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
},
"requestSchema": {
"description": "requestSchema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
},
"outputSchema": {
"description": "outputSchema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
},
"responses": {
"description": "responses, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"status": {
"description": "status, string, length 0 to 40. Optional.",
"type": "string",
"maxLength": 40
},
"description": {
"description": "description, string, length 0 to 4000. Optional.",
"type": "string",
"maxLength": 4000
},
"schema": {
"description": "schema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
},
"example": {
"description": "example, value. Optional."
},
"examples": {
"description": "examples, array. Optional.",
"type": "array",
"items": {
"description": "item, value. Required."
}
}
},
"description": "item, object. Required."
}
},
"examples": {
"description": "examples, array. Optional.",
"type": "array",
"items": {
"description": "item, value. Required."
}
},
"steps": {
"description": "steps, array. Optional.",
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "item, string, length 1 to 200. Required."
}
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
},
"workflows": {
"description": "workflows, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "name, string, length 1 to 160. Required."
},
"description": {
"description": "description, string, length 0 to 8000. Optional.",
"type": "string",
"maxLength": 8000
},
"states": {
"description": "states, array. Optional.",
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "item, string, length 1 to 80. Required."
}
},
"transitions": {
"description": "transitions, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"from": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "from, string, length 1 to 80. Required."
},
"to": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "to, string, length 1 to 80. Required."
},
"operation": {
"description": "operation, string, length 0 to 160. Optional.",
"type": "string",
"maxLength": 160
},
"on": {
"description": "on, string, length 0 to 200. Optional.",
"type": "string",
"maxLength": 200
}
},
"required": [
"from",
"to"
],
"description": "item, object. Required."
}
},
"steps": {
"description": "steps, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "name, string, length 1 to 160. Required."
},
"description": {
"description": "description, string, length 0 to 4000. Optional.",
"type": "string",
"maxLength": 4000
},
"operation": {
"description": "operation, string, length 0 to 160. Optional.",
"type": "string",
"maxLength": 160
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
},
"openapi": {
"description": "openapi, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"success": {
"type": "boolean",
"description": "success. Boolean."
},
"analysis": {
"type": "string",
"description": "analysis. String."
},
"score": {
"type": "number",
"description": "score. Number."
},
"issues": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "type. String."
},
"severity": {
"type": "string",
"description": "severity. String."
},
"description": {
"type": "string",
"description": "description. String."
},
"evidence": {
"type": "string",
"description": "evidence. String."
},
"location": {
"type": "string",
"description": "location. String."
},
"agent_impact": {
"type": "string",
"description": "agent_impact. String."
},
"suggested_fix": {
"type": "string",
"description": "suggested_fix. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "issues. Array."
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "type. String."
},
"severity": {
"type": "string",
"description": "severity. String."
},
"description": {
"type": "string",
"description": "description. String."
},
"evidence": {
"type": "string",
"description": "evidence. String."
},
"location": {
"type": "string",
"description": "location. String."
},
"agent_impact": {
"type": "string",
"description": "agent_impact. String."
},
"suggested_fix": {
"type": "string",
"description": "suggested_fix. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "warnings. Array."
},
"recommendations": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "recommendations. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢agent-contracts_partial-failure-check(operations, workflows, openapi)
Find multi-step workflows that do not say whether a later failure leaves earlier steps in place, rolls them back, or can be retried. Docs: https://www.brainiac.software/api/agent-contracts/partial-failure-check Keywords: before an agent executes a tool or payment, operations, workflows, openapi, success, analysis, score, issues, warnings, recommendations, Check partial failure contracts, partial failure check.
Eingabe-Schema
{
"type": "object",
"properties": {
"operations": {
"description": "operations, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "name, string, length 1 to 160. Required."
},
"method": {
"description": "method, string, length 0 to 16. Optional.",
"type": "string",
"maxLength": 16
},
"path": {
"description": "path, string, length 0 to 400. Optional.",
"type": "string",
"maxLength": 400
},
"description": {
"description": "description, string, length 0 to 8000. Optional.",
"type": "string",
"maxLength": 8000
},
"summary": {
"description": "summary, string, length 0 to 1000. Optional.",
"type": "string",
"maxLength": 1000
},
"parameters": {
"description": "parameters, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "name, string, length 1 to 120. Required."
},
"in": {
"description": "in, string, one of query, header, path, cookie, body. Optional.",
"type": "string",
"enum": [
"query",
"header",
"path",
"cookie",
"body"
]
},
"description": {
"description": "description, string, length 0 to 4000. Optional.",
"type": "string",
"maxLength": 4000
},
"required": {
"description": "required, boolean. Optional.",
"type": "boolean"
},
"schema": {
"description": "schema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
},
"requestSchema": {
"description": "requestSchema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
},
"outputSchema": {
"description": "outputSchema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
},
"responses": {
"description": "responses, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"status": {
"description": "status, string, length 0 to 40. Optional.",
"type": "string",
"maxLength": 40
},
"description": {
"description": "description, string, length 0 to 4000. Optional.",
"type": "string",
"maxLength": 4000
},
"schema": {
"description": "schema, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
},
"example": {
"description": "example, value. Optional."
},
"examples": {
"description": "examples, array. Optional.",
"type": "array",
"items": {
"description": "item, value. Required."
}
}
},
"description": "item, object. Required."
}
},
"examples": {
"description": "examples, array. Optional.",
"type": "array",
"items": {
"description": "item, value. Required."
}
},
"steps": {
"description": "steps, array. Optional.",
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "item, string, length 1 to 200. Required."
}
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
},
"workflows": {
"description": "workflows, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "name, string, length 1 to 160. Required."
},
"description": {
"description": "description, string, length 0 to 8000. Optional.",
"type": "string",
"maxLength": 8000
},
"states": {
"description": "states, array. Optional.",
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "item, string, length 1 to 80. Required."
}
},
"transitions": {
"description": "transitions, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"from": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "from, string, length 1 to 80. Required."
},
"to": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "to, string, length 1 to 80. Required."
},
"operation": {
"description": "operation, string, length 0 to 160. Optional.",
"type": "string",
"maxLength": 160
},
"on": {
"description": "on, string, length 0 to 200. Optional.",
"type": "string",
"maxLength": 200
}
},
"required": [
"from",
"to"
],
"description": "item, object. Required."
}
},
"steps": {
"description": "steps, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "name, string, length 1 to 160. Required."
},
"description": {
"description": "description, string, length 0 to 4000. Optional.",
"type": "string",
"maxLength": 4000
},
"operation": {
"description": "operation, string, length 0 to 160. Optional.",
"type": "string",
"maxLength": 160
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
}
},
"required": [
"name"
],
"description": "item, object. Required."
}
},
"openapi": {
"description": "openapi, object. Optional.",
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80
},
"additionalProperties": {}
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"success": {
"type": "boolean",
"description": "success. Boolean."
},
"analysis": {
"type": "string",
"description": "analysis. String."
},
"score": {
"type": "number",
"description": "score. Number."
},
"issues": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "type. String."
},
"severity": {
"type": "string",
"description": "severity. String."
},
"description": {
"type": "string",
"description": "description. String."
},
"evidence": {
"type": "string",
"description": "evidence. String."
},
"location": {
"type": "string",
"description": "location. String."
},
"agent_impact": {
"type": "string",
"description": "agent_impact. String."
},
"suggested_fix": {
"type": "string",
"description": "suggested_fix. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "issues. Array."
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "type. String."
},
"severity": {
"type": "string",
"description": "severity. String."
},
"description": {
"type": "string",
"description": "description. String."
},
"evidence": {
"type": "string",
"description": "evidence. String."
},
"location": {
"type": "string",
"description": "location. String."
},
"agent_impact": {
"type": "string",
"description": "agent_impact. String."
},
"suggested_fix": {
"type": "string",
"description": "suggested_fix. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "warnings. Array."
},
"recommendations": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "recommendations. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}Community
Nachweis