Title73/100
Señales deterministas del presupuesto
The title clearly communicates the tool’s action and subject. Keep it concise.
Description92/100
Devuelve las señales del motor de Análisis antes de la selección ejecutiva de la UI. Sirven para orientar investigación, no son errores probados ni hallazgos del agente. El motor limita la selección y las entidades relacionadas son ejemplos. Usa el contexto del presupuesto abierto. El acceso depende de la cuenta propietaria, de que el documento sea público o del enlace de lectura vigente. No guarda cambios ni emite una opinión profesional.
The description explains the capability, when to use it, and what to expect.
Inputs94/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
presupuestoId
Identifica el documento. Tómalo del contexto que devuelve el visor al importar o abrir el presupuesto.
Clear enough to supply this argument.
version
Número de la revisión publicada que quieres consultar. Usa el que acompaña al presupuesto en el contexto del visor.
Clear enough to supply this argument.
readSharePath
Enlace que da acceso de lectura a un presupuesto compartido. Para un documento privado compartido, toma este valor del contexto con el que lo abriste.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
conversation_id
The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.
Clear enough to supply this argument.
Annotations100/100
All four behavior hints are declared.
{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Output schema85/100
The output schema explains the structured result.
View output schema
{
"type": "object",
"$defs": {
"__schema0": {
"type": "object",
"required": [
"presupuestoId",
"version",
"dataFingerprint"
],
"properties": {
"version": {
"$ref": "#/$defs/__schema3"
},
"presupuestoId": {
"$ref": "#/$defs/__schema1"
},
"readSharePath": {
"$ref": "#/$defs/__schema7"
},
"dataFingerprint": {
"$ref": "#/$defs/__schema6"
}
},
"description": "Identidad y estado de los datos del presupuesto que sustentan la respuesta.",
"additionalProperties": false
},
"__schema1": {
"$ref": "#/$defs/__schema2",
"description": "ID del documento consultado."
},
"__schema2": {
"type": "string"
},
"__schema3": {
"$ref": "#/$defs/__schema4",
"description": "Número de la revisión publicada que se consultó."
},
"__schema4": {
"$ref": "#/$defs/__schema5",
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"__schema5": {
"type": "number"
},
"__schema6": {
"$ref": "#/$defs/__schema2",
"description": "Huella del estado económico consultado. Reutilízala para paginar, investigar usos o simular sobre la misma base."
},
"__schema7": {
"$ref": "#/$defs/__schema2",
"description": "Enlace de lectura cuando el contexto lo incluye para volver a acceder al documento compartido."
},
"__schema8": {
"anyOf": [
{
"$ref": "#/$defs/__schema2"
},
{
"type": "null"
}
]
},
"__schema9": {
"type": "object",
"required": [
"moneda",
"importeTotal",
"costoDirectoTotal",
"totalConceptos",
"totalPartidas",
"composicionParcial",
"conceptosSinMatriz",
"calculosNoDisponibles"
],
"properties": {
"moneda": {
"$ref": "#/$defs/__schema8"
},
"importeTotal": {
"$ref": "#/$defs/__schema5"
},
"totalPartidas": {
"$ref": "#/$defs/__schema4"
},
"totalConceptos": {
"$ref": "#/$defs/__schema4"
},
"costoDirectoTotal": {
"$ref": "#/$defs/__schema10"
},
"composicionParcial": {
"$ref": "#/$defs/__schema11"
},
"conceptosSinMatriz": {
"$ref": "#/$defs/__schema4"
},
"calculosNoDisponibles": {
"$ref": "#/$defs/__schema4"
}
},
"additionalProperties": false
},
"__schema10": {
"anyOf": [
{
"$ref": "#/$defs/__schema5"
},
{
"type": "null"
}
]
},
"__schema11": {
"type": "boolean"
},
"__schema12": {
"type": "object",
"required": [
"id",
"ruleId",
"scope",
"severity",
"polarity",
"category",
"title",
"message",
"affectedPresupuestoIds",
"evidence"
],
"properties": {
"id": {
"$ref": "#/$defs/__schema2"
},
"scope": {
"type": "string",
"const": "presupuesto"
},
"title": {
"$ref": "#/$defs/__schema2"
},
"ruleId": {
"$ref": "#/$defs/__schema2"
},
"message": {
"$ref": "#/$defs/__schema2"
},
"category": {
"$ref": "#/$defs/__schema2"
},
"evidence": {
"type": "object",
"description": "Valores que sustentan la regla. Las claves dependen de ruleId.",
"propertyNames": {
"$ref": "#/$defs/__schema2"
},
"additionalProperties": {
"$ref": "#/$defs/__schema13"
}
},
"polarity": {
"enum": [
"neutral",
"positive",
"negative"
],
"type": "string"
},
"severity": {
"enum": [
"info",
"warning",
"alert"
],
"type": "string"
},
"relatedEntities": {
"$ref": "#/$defs/__schema14",
"description": "Muestra de partidas, conceptos o recursos relacionados con la señal."
},
"affectedPresupuestoIds": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema2"
}
}
},
"additionalProperties": false
},
"__schema13": {
"anyOf": [
{
"$ref": "#/$defs/__schema2"
},
{
"$ref": "#/$defs/__schema5"
},
{
"$ref": "#/$defs/__schema11"
},
{
"type": "null"
}
]
},
"__schema14": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"required": [
"sourceId",
"id",
"code",
"description",
"unit",
"quantity",
"declaredUnitPrice",
"kind",
"diagnostic"
],
"properties": {
"id": {
"$ref": "#/$defs/__schema2"
},
"code": {
"$ref": "#/$defs/__schema2"
},
"kind": {
"type": "string",
"const": "concept"
},
"unit": {
"$ref": "#/$defs/__schema2"
},
"quantity": {
"$ref": "#/$defs/__schema10"
},
"sourceId": {
"$ref": "#/$defs/__schema2",
"description": "Referencia citable del concepto."
},
"diagnostic": {
"type": "object",
"required": [
"amount",
"amountRatio",
"hasMatriz"
],
"properties": {
"amount": {
"$ref": "#/$defs/__schema5"
},
"hasMatriz": {
"$ref": "#/$defs/__schema11"
},
"amountRatio": {
"$ref": "#/$defs/__schema10"
}
},
"additionalProperties": false
},
"description": {
"$ref": "#/$defs/__schema2"
},
"declaredUnitPrice": {
"$ref": "#/$defs/__schema10",
"description": "Precio unitario declarado en el presupuesto."
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"wbsId",
"code",
"description",
"amountRatio"
],
"properties": {
"code": {
"$ref": "#/$defs/__schema2"
},
"kind": {
"type": "string",
"const": "wbs"
},
"wbsId": {
"$ref": "#/$defs/__schema4"
},
"amountRatio": {
"$ref": "#/$defs/__schema10"
},
"description": {
"$ref": "#/$defs/__schema2"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"catalogId",
"code",
"description",
"costGroup",
"amount",
"amountRatio",
"unitLabel"
],
"properties": {
"code": {
"$ref": "#/$defs/__schema2"
},
"kind": {
"type": "string",
"const": "catalogItem"
},
"amount": {
"$ref": "#/$defs/__schema5"
},
"catalogId": {
"anyOf": [
{
"$ref": "#/$defs/__schema4"
},
{
"type": "null"
}
]
},
"costGroup": {
"enum": [
"ma",
"mo",
"eq",
"other"
],
"type": "string"
},
"unitLabel": {
"$ref": "#/$defs/__schema8"
},
"amountRatio": {
"$ref": "#/$defs/__schema10"
},
"description": {
"$ref": "#/$defs/__schema2"
}
},
"additionalProperties": false
}
]
}
},
"__schema15": {
"type": "boolean",
"const": true
},
"__schema16": {
"type": "boolean",
"const": true
},
"__schema17": {
"type": "boolean",
"const": false
},
"__schema18": {
"type": "object",
"properties": {
"field": {
"$ref": "#/$defs/__schema2"
},
"expected": {
"$ref": "#/$defs/__schema13"
},
"sourceId": {
"$ref": "#/$defs/__schema2"
},
"conceptId": {
"$ref": "#/$defs/__schema4"
},
"factIndex": {
"$ref": "#/$defs/__schema4"
},
"citationIndex": {
"$ref": "#/$defs/__schema4"
},
"diagnosticCode": {
"$ref": "#/$defs/__schema2"
},
"supportedSource": {
"$ref": "#/$defs/__schema2"
}
},
"additionalProperties": false
},
"__schema19": {
"type": "object",
"required": [
"instruction"
],
"properties": {
"input": {
"type": "object",
"properties": {
"conceptId": {
"$ref": "#/$defs/__schema4"
}
},
"additionalProperties": false
},
"capability": {
"$ref": "#/$defs/__schema2"
},
"instruction": {
"$ref": "#/$defs/__schema2"
}
},
"additionalProperties": false
}
},
"anyOf": [
{
"type": "object",
"required": [
"context",
"status",
"reason",
"basis",
"insights",
"selection",
"limitation"
],
"properties": {
"basis": {
"anyOf": [
{
"$ref": "#/$defs/__schema9"
},
{
"type": "null"
}
],
"description": "Moneda, importes y cobertura de datos usados como base del diagnóstico."
},
"reason": {
"$ref": "#/$defs/__schema8",
"description": "Motivo por el que no se pudo evaluar el diagnóstico, cuando aplica."
},
"status": {
"enum": [
"available",
"insufficient_data"
],
"type": "string",
"description": "Indica si el motor pudo evaluar las reglas de diagnóstico."
},
"context": {
"$ref": "#/$defs/__schema0"
},
"insights": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema12"
},
"description": "Señales deterministas para orientar la revisión. Contrasta sus valores con las fuentes."
},
"selection": {
"type": "object",
"required": [
"returnedCount",
"engineTopLimit",
"beforeExecutiveUiSelection",
"relatedEntitiesAreSamples",
"exhaustive"
],
"properties": {
"exhaustive": {
"$ref": "#/$defs/__schema17"
},
"returnedCount": {
"$ref": "#/$defs/__schema4"
},
"engineTopLimit": {
"$ref": "#/$defs/__schema4"
},
"relatedEntitiesAreSamples": {
"$ref": "#/$defs/__schema16"
},
"beforeExecutiveUiSelection": {
"$ref": "#/$defs/__schema15"
}
},
"description": "Cómo se seleccionaron las señales y qué parte de los datos representan.",
"additionalProperties": false
},
"limitation": {
"$ref": "#/$defs/__schema2",
"description": "Alcance del diagnóstico y límites de interpretación de las señales."
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"status",
"code",
"recoverable"
],
"properties": {
"code": {
"$ref": "#/$defs/__schema2",
"description": "Código que identifica el motivo del rechazo."
},
"status": {
"enum": [
"rejected",
"stale"
],
"type": "string",
"description": "Resultado del rechazo. stale indica que debes volver a leer el contexto vigente."
},
"context": {
"$ref": "#/$defs/__schema0"
},
"details": {
"$ref": "#/$defs/__schema18",
"description": "Datos que ubican la causa del rechazo, si están disponibles."
},
"message": {
"$ref": "#/$defs/__schema2"
},
"nextAction": {
"$ref": "#/$defs/__schema19",
"description": "Instrucción de recuperación y, cuando corresponde, herramienta y argumentos para seguirla."
},
"recoverable": {
"$ref": "#/$defs/__schema11",
"description": "Indica si la operación permite corregir la solicitud o el contexto y volver a intentar."
},
"currentContext": {
"$ref": "#/$defs/__schema0",
"description": "Contexto vigente que puedes reutilizar para corregir la solicitud, cuando está disponible."
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}