{"ok":true,"site":{"host":"postor.com.mx","url":"https://postor.com.mx/","type":"live","desc":"Postor (antes LicitIA)","tools":[{"name":"buscarProveedores","kind":"act","impl":"imperative","description":"Busca proveedores publicados por nombre parcial. Devuelve slugs para consultar su perfil o adjudicaciones. El límite es una muestra de búsqueda; no representa el total del universo. Devuelve un objeto MCP: content contiene texto y structuredContent contiene los datos públicos descritos por el servidor. Si isError es true, revisa content y structuredContent.error cuando exista; un error no equivale a cero resultados.","inputSchema":{"type":"object","properties":{"q":{"type":"string","minLength":2,"maxLength":200},"limite":{"type":"integer","minimum":1,"maximum":50,"description":"Máximo de resultados; si se omite se devuelven hasta 20."}},"required":["q"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false},"executable":true,"outputSchema":{"type":"object","anyOf":[{"type":"object","required":["content","structuredContent"],"properties":{"content":{"type":"array","minItems":1,"items":{"type":"object","properties":{"type":{"const":"text"},"text":{"type":"string"}},"required":["type","text"]}},"isError":{"const":false},"structuredContent":{"allOf":[{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"object","properties":{"resultados":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"nombre":{"type":"string"},"contratos":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"monto_adjudicado_mxn":{"anyOf":[{"type":"string"},{"type":"null"}]},"fuente":{"type":"string","format":"uri"},"licitia_url":{"type":"string","format":"uri"}},"required":["slug","nombre","contratos","monto_adjudicado_mxn","fuente","licitia_url"],"additionalProperties":false}},"hay_mas":{"type":"boolean"},"siguiente_cursor":{"type":"null"},"cobertura":{"type":"object","properties":{"coleccion":{"type":"string","const":"comprasmx"},"alcance":{"type":"string"},"fuente_primaria":{"type":"string","const":"ComprasMX"}},"required":["coleccion","alcance","fuente_primaria"],"additionalProperties":false},"paginacion":{"type":"object","properties":{"modo":{"type":"string","const":"busqueda_acotada"},"devueltos":{"type":"integer","minimum":0,"maximum":9007199254740991},"total":{"type":"null"}},"required":["modo","devueltos","total"],"additionalProperties":false},"nota":{"type":"string"}},"required":["resultados","hay_mas","siguiente_cursor","cobertura","paginacion","nota"],"additionalProperties":false},{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}]},{"not":{"required":["error"]}}]}}},{"type":"object","properties":{"isError":{"const":true},"content":{"type":"array","minItems":1,"items":{"type":"object","properties":{"type":{"const":"text"},"text":{"type":"string"}},"required":["type","text"]}},"structuredContent":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean","description":"Indicación de reintento del servidor, cuando está disponible."},"retryAfter":{"type":"number","exclusiveMinimum":0,"description":"Segundos indicados por HTTP Retry-After cuando la API limita consultas."}}}}}},"required":["isError","content"]}]},"handlerField":"execute","page":"/categoria/12201-0001"},{"name":"listarAdjudicacionesProveedor","kind":"act","impl":"imperative","description":"Lista adjudicaciones publicadas de un proveedor por slug, con importes originales, moneda y enlace oficial. Sólo procedimientos ADJUDICADO o ADJUDICADO PARCIAL; pagina contratos con cursor, no fechas de fallo programadas. Devuelve un objeto MCP: content contiene texto y structuredContent contiene los datos públicos descritos por el servidor. Si isError es true, revisa content y structuredContent.error cuando exista; un error no equivale a cero resultados.","inputSchema":{"type":"object","properties":{"slug":{"type":"string","minLength":1,"maxLength":160,"pattern":"^[a-z0-9][a-z0-9-]*$"},"anio":{"type":"integer","minimum":1900,"maximum":2200},"limite":{"type":"integer","minimum":1,"maximum":50,"description":"Máximo de resultados; si se omite se devuelven hasta 20."},"cursor":{"type":"string","minLength":1,"maxLength":2000,"description":"Copia siguiente_cursor de la respuesta anterior y conserva los mismos filtros. Omítelo en la primera consulta."}},"required":["slug"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false},"executable":true,"outputSchema":{"type":"object","anyOf":[{"type":"object","required":["content","structuredContent"],"properties":{"content":{"type":"array","minItems":1,"items":{"type":"object","properties":{"type":{"const":"text"},"text":{"type":"string"}},"required":["type","text"]}},"isError":{"const":false},"structuredContent":{"allOf":[{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"object","properties":{"encontrado":{"type":"boolean","const":true},"resultados":{"type":"array","items":{"type":"object","properties":{"adjudicacion":{"type":"object","properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}]},"internal_reference":{"anyOf":[{"type":"string"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"type":"string"},{"type":"null"}]},"contractor":{"type":"object","properties":{"name":{"type":"string"},"normalized_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"rfc_type":{"anyOf":[{"type":"string","enum":["moral","fisica"]},{"type":"null"}]},"slug":{"type":"string"}},"required":["name","normalized_name","rfc_type"],"additionalProperties":false},"contract_period":{"type":"object","properties":{"published_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"starts_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"ends_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["published_at","starts_at","ends_at"],"additionalProperties":false},"value":{"type":"object","properties":{"subtotal":{"anyOf":[{"type":"string"},{"type":"null"}]},"tax":{"anyOf":[{"type":"string"},{"type":"null"}]},"total":{"anyOf":[{"type":"string"},{"type":"null"}]},"maximum_subtotal":{"anyOf":[{"type":"string"},{"type":"null"}]},"maximum_total":{"anyOf":[{"type":"string"},{"type":"null"}]},"currency":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["subtotal","tax","total","maximum_subtotal","maximum_total","currency"],"additionalProperties":false},"open_contract_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"quantity":{"anyOf":[{"type":"string"},{"type":"null"}]},"exercised_quantity":{"anyOf":[{"type":"string"},{"type":"null"}]},"participants":{"type":"array","items":{"type":"object","properties":{"number":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"type":"string"},"rfc_type":{"anyOf":[{"type":"string","enum":["moral","fisica"]},{"type":"null"}]},"slug":{"type":"string"}},"required":["number","name","rfc_type"],"additionalProperties":false}},"line_items":{"type":"array","items":{"type":"object","properties":{"number":{"type":"string"},"cucop_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"unit":{"anyOf":[{"type":"string"},{"type":"null"}]},"requested_quantity":{"anyOf":[{"type":"string"},{"type":"null"}]},"awarded_quantity":{"anyOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"anyOf":[{"type":"string"},{"type":"null"}]},"subtotal":{"anyOf":[{"type":"string"},{"type":"null"}]},"tax":{"anyOf":[{"type":"string"},{"type":"null"}]},"other_taxes":{"anyOf":[{"type":"string"},{"type":"null"}]},"total":{"anyOf":[{"type":"string"},{"type":"null"}]},"cucop_description":{"type":"string"},"partida_code":{"type":"string"},"partida_description":{"type":"string"}},"required":["number","cucop_code","description","unit","requested_quantity","awarded_quantity","unit_price","subtotal","tax","other_taxes","total"],"additionalProperties":false}}},"required":["id","internal_reference","title","status","contractor","contract_period","value","open_contract_type","quantity","exercised_quantity","participants","line_items"],"additionalProperties":false},"procedimiento":{"type":"object","properties":{"numero":{"anyOf":[{"type":"string"},{"type":"null"}]},"titulo":{"anyOf":[{"type":"string"},{"type":"null"}]},"fuente":{"type":"string","format":"uri"},"licitia_url":{"type":"string","format":"uri"},"source_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"source_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]}},"required":["numero","titulo","fuente","licitia_url","source_id","source_url"],"additionalProperties":false}},"required":["adjudicacion","procedimiento"],"additionalProperties":false}},"siguiente_cursor":{"anyOf":[{"type":"string"},{"type":"null"}]},"hay_mas":{"type":"boolean"},"paginacion":{"type":"object","properties":{"unidad":{"type":"string","const":"adjudicaciones"},"devueltos":{"type":"integer","minimum":0,"maximum":9007199254740991},"total":{"type":"null"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}]},"has_more":{"type":"boolean"}},"required":["unidad","devueltos","total","next_cursor","has_more"],"additionalProperties":false},"cobertura":{"type":"object","properties":{"coleccion":{"type":"string","const":"comprasmx"},"alcance":{"type":"string"},"fuente_primaria":{"type":"string","const":"ComprasMX"},"anio":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"criterio":{"type":"array","prefixItems":[{"type":"string","const":"ADJUDICADO"},{"type":"string","const":"ADJUDICADO PARCIAL"}]}},"required":["coleccion","alcance","fuente_primaria","anio","criterio"],"additionalProperties":false},"fuente":{"type":"string","format":"uri"},"licitia_url":{"type":"string","format":"uri"},"actualizado_al":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"nota":{"type":"string"}},"required":["encontrado","resultados","siguiente_cursor","hay_mas","paginacion","cobertura","fuente","licitia_url","nota"],"additionalProperties":false},{"type":"object","properties":{"encontrado":{"type":"boolean","const":false},"slug":{"type":"string"},"retirado":{"type":"boolean","const":true}},"required":["encontrado","slug"],"additionalProperties":false},{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}]},{"not":{"required":["error"]}}]}}},{"type":"object","properties":{"isError":{"const":true},"content":{"type":"array","minItems":1,"items":{"type":"object","properties":{"type":{"const":"text"},"text":{"type":"string"}},"required":["type","text"]}},"structuredContent":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean","description":"Indicación de reintento del servidor, cuando está disponible."},"retryAfter":{"type":"number","exclusiveMinimum":0,"description":"Segundos indicados por HTTP Retry-After cuando la API limita consultas."}}}}}},"required":["isError","content"]}]},"handlerField":"execute","page":"/categoria/12201-0001"},{"name":"estadisticasContratacion","kind":"act","impl":"imperative","description":"Consulta los agregados públicos federales generales o de un año/estado. general no admite clave; anio requiere clave de cuatro dígitos entre 1900 y 2200; estado requiere clave entre 1 y 32. Cuenta procedimientos; los montos adjudicados van en pesos, con otras monedas al tipo de cambio de Banxico y sin contratos por verificar. Las fuentes estatales no se mezclan con estos datos. Devuelve un objeto MCP: content contiene texto y structuredContent contiene los datos públicos descritos por el servidor. Si isError es true, revisa content y structuredContent.error cuando exista; un error no equivale a cero resultados.","inputSchema":{"type":"object","properties":{"dimension":{"type":"string","enum":["general","anio","estado"],"description":"general devuelve los agregados públicos; anio y estado seleccionan una dimensión con clave obligatoria."},"clave":{"type":"string","pattern":"^\\d{1,4}$","description":"Omite clave para general. Para anio usa un año de cuatro dígitos (1900–2200), por ejemplo \"2025\". Para estado usa el ID Postor/ComprasMX (1–32), por ejemplo \"7\" para Ciudad de México; no es INEGI."}},"required":["dimension"],"$schema":"https://json-schema.org/draft/2020-12/schema","oneOf":[{"type":"object","properties":{"dimension":{"type":"string","const":"general"},"clave":{"not":{}}},"required":["dimension"],"additionalProperties":false},{"type":"object","properties":{"dimension":{"type":"string","const":"anio"},"clave":{"type":"string","pattern":"^(?:19\\d{2}|20\\d{2}|21\\d{2}|2200)$"}},"required":["dimension","clave"],"additionalProperties":false},{"type":"object","properties":{"dimension":{"type":"string","const":"estado"},"clave":{"type":"string","maxLength":4,"pattern":"^0{0,3}(?:[1-9]|[12]\\d|3[0-2])$"}},"required":["dimension","clave"],"additionalProperties":false}],"additionalProperties":false},"executable":true,"outputSchema":{"type":"object","anyOf":[{"type":"object","required":["content","structuredContent"],"properties":{"content":{"type":"array","minItems":1,"items":{"type":"object","properties":{"type":{"const":"text"},"text":{"type":"string"}},"required":["type","text"]}},"isError":{"const":false},"structuredContent":{"allOf":[{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"object","properties":{"encontrado":{"type":"boolean"},"datos":{"type":"object","properties":{"agregados":{"type":"array","items":{"type":"object","properties":{"dimension":{"type":"string"},"clave":{"type":"string"},"etiqueta":{"type":"string"},"procedimientos":{"type":"integer","minimum":0,"maximum":9007199254740991},"monto_adjudicado_mxn":{"type":"string"}},"required":["dimension","clave","etiqueta","procedimientos","monto_adjudicado_mxn"],"additionalProperties":false}},"desglose":{"anyOf":[{"type":"object","properties":{"tipo":{"type":"string","enum":["estado","anio"]},"clave":{"type":"string"},"porTipo":{"type":"array","items":{"type":"object","properties":{"clave":{"type":"string"},"n":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["clave","n"],"additionalProperties":false}},"porEstatus":{"type":"array","items":{"type":"object","properties":{"clave":{"type":"string"},"n":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["clave","n"],"additionalProperties":false}},"dependencias":{"type":"array","items":{"type":"object","properties":{"clave":{"type":"string"},"n":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["clave","n"],"additionalProperties":false}},"distinctDependencias":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["tipo","clave","porTipo","porEstatus","dependencias","distinctDependencias"],"additionalProperties":false},{"type":"null"}]}},"required":["agregados","desglose"],"additionalProperties":false},"cobertura":{"type":"object","properties":{"coleccion":{"type":"string","const":"comprasmx"},"alcance":{"type":"string"},"fuente_primaria":{"type":"string","const":"ComprasMX"},"dimension":{"type":"string","enum":["general","anio","estado"]},"clave":{"anyOf":[{"type":"string"},{"type":"null"}]},"unidad_conteo":{"type":"string","const":"procedimientos"},"moneda":{"type":"string","const":"MXN"},"reglas_importe":{"type":"string"},"nota":{"type":"string"}},"required":["coleccion","alcance","fuente_primaria","dimension","clave","unidad_conteo","moneda","reglas_importe","nota"],"additionalProperties":false},"fuente":{"type":"string","format":"uri"},"licitia_url":{"type":"string","format":"uri"}},"required":["encontrado","datos","cobertura","fuente","licitia_url"],"additionalProperties":false},{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}]},{"not":{"required":["error"]}}]}}},{"type":"object","properties":{"isError":{"const":true},"content":{"type":"array","minItems":1,"items":{"type":"object","properties":{"type":{"const":"text"},"text":{"type":"string"}},"required":["type","text"]}},"structuredContent":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean","description":"Indicación de reintento del servidor, cuando está disponible."},"retryAfter":{"type":"number","exclusiveMinimum":0,"description":"Segundos indicados por HTTP Retry-After cuando la API limita consultas."}}}}}},"required":["isError","content"]}]},"handlerField":"execute","page":"/categoria/12201-0001"},{"name":"obtenerProcedimiento","kind":"act","impl":"imperative","description":"Devuelve la ficha pública de un procedimiento federal por su número: comprador, adjudicaciones publicadas, importes, partidas y anexos. Usa el número exacto devuelto por buscarProcedimientos, incluidos formatos históricos. Incluye los enlaces de Postor y ComprasMX para verificarlo. Devuelve un objeto MCP: content contiene texto y structuredContent contiene los datos públicos descritos por el servidor. Si isError es true, revisa content y structuredContent.error cuando exista; un error no equivale a cero resultados.","inputSchema":{"type":"object","properties":{"numero":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)+$","description":"Número exacto devuelto como numero_procedimiento por buscarProcedimientos; no es un UUID ni una URL. Conserva los separadores del identificador publicado."}},"required":["numero"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false},"executable":true,"outputSchema":{"type":"object","anyOf":[{"type":"object","required":["content","structuredContent"],"properties":{"content":{"type":"array","minItems":1,"items":{"type":"object","properties":{"type":{"const":"text"},"text":{"type":"string"}},"required":["type","text"]}},"isError":{"const":false},"structuredContent":{"allOf":[{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"object","properties":{"encontrado":{"type":"boolean","const":true},"datos":{"type":"object","properties":{"id":{"type":"string"},"procedure_number":{"anyOf":[{"type":"string"},{"type":"null"}]},"file_number":{"anyOf":[{"type":"string"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"type":"object","properties":{"short":{"anyOf":[{"type":"string"},{"type":"null"}]},"detailed":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["short","detailed"],"additionalProperties":false},"lifecycle":{"type":"object","properties":{"section":{"type":"string","enum":["vigente","seguimiento","concluido"]},"source_status":{"anyOf":[{"type":"string"},{"type":"null"}]},"moved_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["section","source_status","moved_at"],"additionalProperties":false},"buyer":{"type":"object","properties":{"agency":{"anyOf":[{"type":"string"},{"type":"null"}]},"acronym":{"anyOf":[{"type":"string"},{"type":"null"}]},"branch":{"anyOf":[{"type":"string"},{"type":"null"}]},"buying_unit":{"anyOf":[{"type":"string"},{"type":"null"}]},"requesting_unit":{"anyOf":[{"type":"string"},{"type":"null"}]},"requesting_group":{"anyOf":[{"type":"string"},{"type":"null"}]},"entity":{"anyOf":[{"type":"string"},{"type":"null"}]},"slug":{"type":"string"},"unit_slug":{"type":"string"}},"required":["agency","acronym","branch","buying_unit","requesting_unit","requesting_group","entity"],"additionalProperties":false},"classification":{"type":"object","properties":{"procedure_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"contracting_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"publication_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"character":{"anyOf":[{"type":"string"},{"type":"null"}]},"fiscal_year":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"law":{"anyOf":[{"type":"string"},{"type":"null"}]},"legal_basis_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"exception_basis":{"anyOf":[{"type":"string"},{"type":"null"}]},"internal_control_number":{"anyOf":[{"type":"string"},{"type":"null"}]},"supply_source_number":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["procedure_type","contracting_type","publication_type","character","fiscal_year","law","legal_basis_id","exception_basis","internal_control_number","supply_source_number"],"additionalProperties":false},"schedule":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"locations":{"type":"object","properties":{"state_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"state":{"anyOf":[{"type":"string"},{"type":"null"}]},"bid_opening":{"anyOf":[{"type":"string"},{"type":"null"}]},"award":{"anyOf":[{"type":"string"},{"type":"null"}]},"clarification_meeting":{"anyOf":[{"type":"string"},{"type":"null"}]},"site_visit":{"anyOf":[{"type":"string"},{"type":"null"}]},"work_site":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["state_id","state","bid_opening","award","clarification_meeting","site_visit","work_site"],"additionalProperties":false},"estimated_value":{"type":"object","properties":{"minimum":{"anyOf":[{"type":"string"},{"type":"null"}]},"maximum":{"anyOf":[{"type":"string"},{"type":"null"}]},"currency":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["minimum","maximum","currency","updated_at"],"additionalProperties":false},"financial_terms":{"type":"object","properties":{"currency":{"anyOf":[{"type":"string"},{"type":"null"}]},"advance_percentage":{"anyOf":[{"type":"string"},{"type":"null"}]},"supplier_percentage":{"anyOf":[{"type":"string"},{"type":"null"}]},"payment_method":{"anyOf":[{"type":"string"},{"type":"null"}]},"credit_condition":{"anyOf":[{"type":"string"},{"type":"null"}]},"payment_conditions":{"anyOf":[{"type":"string"},{"type":"null"}]},"financing_organization":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["currency","advance_percentage","supplier_percentage","payment_method","credit_condition","payment_conditions","financing_organization"],"additionalProperties":false},"evaluation":{"type":"object","properties":{"criterion":{"anyOf":[{"type":"string"},{"type":"null"}]},"technical_points":{"anyOf":[{"type":"string"},{"type":"null"}]},"economic_points":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["criterion","technical_points","economic_points"],"additionalProperties":false},"guarantees":{"type":"object","properties":{"performance_required":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"goods_or_services_required":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"amount_percentage":{"anyOf":[{"type":"string"},{"type":"null"}]},"delivery_days":{"anyOf":[{"type":"string"},{"type":"null"}]},"term_months":{"anyOf":[{"type":"string"},{"type":"null"}]},"other_insurance_required":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"other_insurance_description":{"anyOf":[{"type":"string"},{"type":"null"}]},"performance_reduction":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["performance_required","goods_or_services_required","amount_percentage","delivery_days","term_months","other_insurance_required","other_insurance_description","performance_reduction"],"additionalProperties":false},"participation":{"type":"object","properties":{"method":{"anyOf":[{"type":"string"},{"type":"null"}]},"joint":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"msme_only":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"social_witness":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"multi_year":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"open_contract":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"consolidated_purchase":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"external_credit":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"simultaneous_supply":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"subcontracting":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"emergency":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"proposal_language":{"anyOf":[{"type":"string"},{"type":"null"}]},"no_joint_participation_justification":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","joint","msme_only","social_witness","multi_year","open_contract","consolidated_purchase","external_credit","simultaneous_supply","subcontracting","emergency","proposal_language","no_joint_participation_justification"],"additionalProperties":false},"execution":{"type":"object","properties":{"site_visit_required":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"duration_days":{"anyOf":[{"type":"string"},{"type":"null"}]},"procurement_term":{"anyOf":[{"type":"string"},{"type":"null"}]},"subcontracted_work":{"anyOf":[{"type":"string"},{"type":"null"}]},"deadline_justification":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["site_visit_required","duration_days","procurement_term","subcontracted_work","deadline_justification"],"additionalProperties":false},"budget_items":{"type":"array","items":{"type":"object","properties":{"code":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["code","description"],"additionalProperties":false}},"awards":{"type":"array","items":{"type":"object","properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}]},"internal_reference":{"anyOf":[{"type":"string"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"type":"string"},{"type":"null"}]},"contractor":{"type":"object","properties":{"name":{"type":"string"},"normalized_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"rfc_type":{"anyOf":[{"type":"string","enum":["moral","fisica"]},{"type":"null"}]},"slug":{"type":"string"}},"required":["name","normalized_name","rfc_type"],"additionalProperties":false},"contract_period":{"type":"object","properties":{"published_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"starts_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"ends_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["published_at","starts_at","ends_at"],"additionalProperties":false},"value":{"type":"object","properties":{"subtotal":{"anyOf":[{"type":"string"},{"type":"null"}]},"tax":{"anyOf":[{"type":"string"},{"type":"null"}]},"total":{"anyOf":[{"type":"string"},{"type":"null"}]},"maximum_subtotal":{"anyOf":[{"type":"string"},{"type":"null"}]},"maximum_total":{"anyOf":[{"type":"string"},{"type":"null"}]},"currency":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["subtotal","tax","total","maximum_subtotal","maximum_total","currency"],"additionalProperties":false},"open_contract_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"quantity":{"anyOf":[{"type":"string"},{"type":"null"}]},"exercised_quantity":{"anyOf":[{"type":"string"},{"type":"null"}]},"participants":{"type":"array","items":{"type":"object","properties":{"number":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"type":"string"},"rfc_type":{"anyOf":[{"type":"string","enum":["moral","fisica"]},{"type":"null"}]},"slug":{"type":"string"}},"required":["number","name","rfc_type"],"additionalProperties":false}},"line_items":{"type":"array","items":{"type":"object","properties":{"number":{"type":"string"},"cucop_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"unit":{"anyOf":[{"type":"string"},{"type":"null"}]},"requested_quantity":{"anyOf":[{"type":"string"},{"type":"null"}]},"awarded_quantity":{"anyOf":[{"type":"string"},{"type":"null"}]},"unit_price":{"anyOf":[{"type":"string"},{"type":"null"}]},"subtotal":{"anyOf":[{"type":"string"},{"type":"null"}]},"tax":{"anyOf":[{"type":"string"},{"type":"null"}]},"other_taxes":{"anyOf":[{"type":"string"},{"type":"null"}]},"total":{"anyOf":[{"type":"string"},{"type":"null"}]},"cucop_description":{"type":"string"},"partida_code":{"type":"string"},"partida_description":{"type":"string"}},"required":["number","cucop_code","description","unit","requested_quantity","awarded_quantity","unit_price","subtotal","tax","other_taxes","total"],"additionalProperties":false}}},"required":["id","internal_reference","title","status","contractor","contract_period","value","open_contract_type","quantity","exercised_quantity","participants","line_items"],"additionalProperties":false}},"lots":{"type":"array","items":{"type":"object","properties":{"number":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"requirement_group_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"items":{"type":"array","items":{"type":"object","properties":{"number":{"anyOf":[{"type":"string"},{"type":"null"}]},"cucop_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"specific_item_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"cucop_description":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"requested_quantity":{"anyOf":[{"type":"string"},{"type":"null"}]},"minimum_quantity":{"anyOf":[{"type":"string"},{"type":"null"}]},"maximum_quantity":{"anyOf":[{"type":"string"},{"type":"null"}]},"unit":{"anyOf":[{"type":"string"},{"type":"null"}]},"minimum_amount":{"anyOf":[{"type":"string"},{"type":"null"}]},"maximum_amount":{"anyOf":[{"type":"string"},{"type":"null"}]},"partida_code":{"type":"string"},"partida_description":{"type":"string"}},"required":["number","cucop_code","specific_item_code","cucop_description","description","requested_quantity","minimum_quantity","maximum_quantity","unit","minimum_amount","maximum_amount"],"additionalProperties":false}}},"required":["number","name","description","requirement_group_id","items"],"additionalProperties":false}},"documents":{"type":"array","items":{"type":"object","properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}]},"annex_number":{"anyOf":[{"type":"number"},{"type":"null"}]},"document_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"filename":{"anyOf":[{"type":"string"},{"type":"null"}]},"availability":{"type":"string","enum":["available","pending","failed"]},"size_bytes":{"anyOf":[{"type":"string"},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"sha256":{"anyOf":[{"type":"string"},{"type":"null"}]},"uploaded_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","annex_number","document_type","description","filename","availability","size_bytes","mime_type","sha256","uploaded_at","updated_at"],"additionalProperties":false}},"provenance":{"type":"object","properties":{"source_system":{"type":"string"},"source_fetched_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"last_seen_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"first_seen_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"detail_complete":{"type":"boolean"},"documents_complete":{"type":"boolean"},"content_changed_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["source_system","source_fetched_at","last_seen_at","first_seen_at","detail_complete","documents_complete"],"additionalProperties":false}},"required":["id","procedure_number","file_number","title","description","lifecycle","buyer","classification","schedule","locations","financial_terms","evaluation","guarantees","participation","execution","budget_items","awards","lots","documents","provenance"],"additionalProperties":false},"fuente":{"type":"string","format":"uri"},"licitia_url":{"type":"string","format":"uri"},"source_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"source_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cobertura":{"type":"object","properties":{"coleccion":{"type":"string","const":"comprasmx"},"alcance":{"type":"string"},"fuente_primaria":{"type":"string","const":"ComprasMX"}},"required":["coleccion","alcance","fuente_primaria"],"additionalProperties":false},"formatos":{"type":"object","properties":{"markdown":{"type":"string","format":"uri"},"json":{"type":"string","format":"uri"},"ocds":{"type":"string","format":"uri"}},"required":["markdown","json","ocds"],"additionalProperties":false}},"required":["encontrado","datos","fuente","licitia_url","source_id","source_url","cobertura","formatos"],"additionalProperties":false},{"type":"object","properties":{"encontrado":{"type":"boolean","const":false},"numero":{"type":"string"},"retirado":{"type":"boolean","const":true}},"required":["encontrado","numero"],"additionalProperties":false},{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}]},{"not":{"required":["error"]}}]}}},{"type":"object","properties":{"isError":{"const":true},"content":{"type":"array","minItems":1,"items":{"type":"object","properties":{"type":{"const":"text"},"text":{"type":"string"}},"required":["type","text"]}},"structuredContent":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean","description":"Indicación de reintento del servidor, cuando está disponible."},"retryAfter":{"type":"number","exclusiveMinimum":0,"description":"Segundos indicados por HTTP Retry-After cuando la API limita consultas."}}}}}},"required":["isError","content"]}]},"handlerField":"execute","page":"/categoria/12201-0001"},{"name":"buscarProcedimientos","kind":"act","impl":"imperative","description":"Busca procedimientos federales por texto, dependencia (siglas), año, etapa, estado, estatus, tipo o clave CUCOP. Todos los filtros son opcionales: {} devuelve los procedimientos públicos más recientes. Devuelve 20 por defecto y hasta 50 por página, ordenados por fecha de publicación; conserva los mismos filtros al continuar con cursor. No admite número de página. Consulta la ficha para verificar adjudicaciones. Devuelve un objeto MCP: content contiene texto y structuredContent contiene los datos públicos descritos por el servidor. Si isError es true, revisa content y structuredContent.error cuando exista; un error no equivale a cero resultados.","inputSchema":{"type":"object","properties":{"q":{"type":"string","minLength":2,"maxLength":200,"description":"Texto a buscar en el índice público; puede omitirse para explorar por filtros o consultar publicaciones recientes."},"siglas":{"type":"string","minLength":1,"maxLength":200,"description":"Siglas exactas publicadas de la dependencia, por ejemplo IMSS."},"anio":{"type":"integer","minimum":1900,"maximum":2200,"description":"Año del ejercicio, no necesariamente el año de publicación."},"estatus":{"description":"Estatus exacto publicado; conserva mayúsculas y acentos. Usa section para la etapa vigente/seguimiento/concluido.","type":"string","enum":["VIGENTE JA","VIGENTE PAP","EN ACLARACIONES","VIGENTE SA","EN REPREGUNTAS","EN ATENCIÓN DE PREGUNTAS","VIGENTE SIN ACTA","VIGENTE","PENDIENTE DE APERTURA","POR EVALUAR","BLOQUEADO PARA APERTURA","EN DECISIÓN DE FALLO","EN APERTURA","EN EVALUACIÓN","SUSPENDIDO","ACTA EN AUTORIZACIÓN","ACTA RECHAZADA","EN OSD","ADJUDICADO","ADJUDICADO PARCIAL","DESIERTO","CANCELADO","CERRADO","CONFIRMADO"]},"cucop":{"type":"string","minLength":1,"maxLength":20,"description":"Clave CUCOP exacta publicada en las partidas."},"section":{"type":"string","enum":["vigente","seguimiento","concluido"],"description":"Etapa de seguimiento del procedimiento."},"state_id":{"type":"integer","minimum":1,"maximum":32,"description":"Identificador del catálogo estatal de Postor/ComprasMX (1–32); Ciudad de México es 7, no es la numeración INEGI."},"tipo":{"description":"Tipo exacto publicado; conserva mayúsculas y acentos. No uses el prefijo LA/AA como tipo.","type":"string","enum":["LICITACIÓN PÚBLICA","INVITACIÓN A CUANDO MENOS TRES PERSONAS","ADJUDICACIÓN DIRECTA","CONTRATO ESPECÍFICO DERIVADO DE ACUERDO MARCO","ASIGNACIÓN DIRECTA DE CONTRATO ESPECÍFICO DERIVADO DE ACUERDO MARCO","ADJUDICACIÓN DIRECTA CONTRATO MARCO","CONCURSO ASOCIACIONES PÚBLICO PRIVADAS","ADJUDICACIÓN DIRECTA SIN SOLICITUD DE COTIZACIÓN"]},"limite":{"type":"integer","minimum":1,"maximum":50,"description":"Máximo de resultados; si se omite se devuelven hasta 20."},"cursor":{"type":"string","minLength":1,"maxLength":2000,"description":"Copia siguiente_cursor de la respuesta anterior y conserva los mismos filtros. Omítelo en la primera consulta."}},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false},"executable":true,"outputSchema":{"type":"object","anyOf":[{"type":"object","required":["content","structuredContent"],"properties":{"content":{"type":"array","minItems":1,"items":{"type":"object","properties":{"type":{"const":"text"},"text":{"type":"string"}},"required":["type","text"]}},"isError":{"const":false},"structuredContent":{"allOf":[{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"object","properties":{"resultados":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"numero_procedimiento":{"type":"string"},"uuid_procedimiento":{"type":"string"},"nombre_procedimiento":{"anyOf":[{"type":"string"},{"type":"null"}]},"dependencia":{"anyOf":[{"type":"string"},{"type":"null"}]},"siglas":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"estatus":{"anyOf":[{"type":"string"},{"type":"null"}]},"tipo_procedimiento":{"anyOf":[{"type":"string"},{"type":"null"}]},"anio_ejercicio":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"state_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"fecha_publicacion":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"fecha_apertura":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"fecha_fallo":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"public_content_changed_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"adjudicaciones":{"type":"integer","minimum":0,"maximum":9007199254740991},"fuente":{"type":"string","format":"uri"},"licitia_url":{"type":"string","format":"uri"},"source_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"source_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]}},"required":["id","numero_procedimiento","uuid_procedimiento","nombre_procedimiento","dependencia","siglas","status","estatus","tipo_procedimiento","anio_ejercicio","state_id","fecha_publicacion","fecha_apertura","fecha_fallo","public_content_changed_at","adjudicaciones","fuente","licitia_url","source_id","source_url"],"additionalProperties":false}},"siguiente_cursor":{"anyOf":[{"type":"string"},{"type":"null"}]},"hay_mas":{"type":"boolean"},"paginacion":{"type":"object","properties":{"unidad":{"type":"string","const":"procedimientos"},"devueltos":{"type":"integer","minimum":0,"maximum":9007199254740991},"total":{"type":"null"}},"required":["unidad","devueltos","total"],"additionalProperties":false},"cobertura":{"type":"object","properties":{"coleccion":{"type":"string","const":"comprasmx"},"alcance":{"type":"string"},"fuente_primaria":{"type":"string","const":"ComprasMX"}},"required":["coleccion","alcance","fuente_primaria"],"additionalProperties":false}},"required":["resultados","siguiente_cursor","hay_mas","paginacion","cobertura"],"additionalProperties":false},{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}]},{"not":{"required":["error"]}}]}}},{"type":"object","properties":{"isError":{"const":true},"content":{"type":"array","minItems":1,"items":{"type":"object","properties":{"type":{"const":"text"},"text":{"type":"string"}},"required":["type","text"]}},"structuredContent":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean","description":"Indicación de reintento del servidor, cuando está disponible."},"retryAfter":{"type":"number","exclusiveMinimum":0,"description":"Segundos indicados por HTTP Retry-After cuando la API limita consultas."}}}}}},"required":["isError","content"]}]},"handlerField":"execute","page":"/categoria/12201-0001"},{"name":"abrirResultado","kind":"act","impl":"imperative","description":"Abre en esta pestaña una ficha o búsqueda pública de Postor para que la persona vea el resultado. Devuelve {destino, navegacion: 'iniciada'} con la URL solicitada; no confirma que la página terminó de cargar. Una URL no permitida o una cancelación devuelve {isError:true,content,structuredContent:{error:{code,message}}}. Usa la URL HTML de Postor devuelta por una consulta; las URLs oficiales son referencias externas.","inputSchema":{"type":"object","properties":{"url":{"type":"string","format":"uri-reference","minLength":1,"maxLength":4096,"pattern":"^(?!.*[\\\\\\u0000-\\u0020])(?:(?:https://postor\\.com\\.mx))?(?:\\/(?:abierto|buscar|licitaciones|proveedores|dependencias|unidades|categorias|partidas|mercados|datos|api-docs|comprasmx|compranet|glosario|guias)\\/?|\\/(?:licitacion|invitacion|adjudicacion|acuerdo-marco)(?:\\/[a-z0-9-]+)?\\/?|\\/(?:p|mercado|ramo|glosario|guias)\\/[a-z0-9-]+\\/?|\\/(?:proveedor|dependencia|unidad|categoria|partida)\\/[a-z0-9-]+(?:\\/procedimientos(?:\\/\\d{4})?)?\\/?|\\/(?:dependencia|estado)\\/[a-z0-9-]+\\/vigentes\\/?|\\/categoria\\/[a-z0-9-]+\\/precios\\/?|\\/estado\\/[a-z0-9-]+\\/?|\\/licitaciones\\/(?:\\d{4}|vigentes|cierran-esta-semana|seccion\\/(?:vigente|seguimiento|concluido)|estatus\\/[a-z0-9-]+)\\/?|\\/licitaciones-estatales(?:\\/(?:mexico|ciudad-de-mexico|nuevo-leon|jalisco|chihuahua|puebla|guanajuato|sinaloa|oaxaca|baja-california-sur|baja-california|campeche|nayarit|zacatecas)(?:\\/(?:[0-9a-f-]{36}|vigente|archivo\\/\\d{4}))?)?\\/?|\\/datos\\/descargas\\/?|/licitaciones-cfe(?:/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})?/?|/licitaciones-pemex(?:/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})?/?)(?:\\?(?:(?:q|tipo|coleccion|cursor|anio|estatus|seccion|siglas|cucop|state|status|year|buyer|type|page|sort)(?:=[^\\s#\\\\&]*)?(?:&(?:q|tipo|coleccion|cursor|anio|estatus|seccion|siglas|cucop|state|status|year|buyer|type|page|sort)(?:=[^\\s#\\\\&]*)?)*)?)?(?:#[a-zA-Z0-9_-]+)?$","description":"URL HTML del origen actual o canónico de Postor, o ruta pública desde /. Acepta fichas y búsquedas públicas; no acepta el panel, guardados, formularios ni URLs oficiales externas."}},"required":["url"],"additionalProperties":false},"executable":true,"outputSchema":{"type":"object","anyOf":[{"type":"object","required":["destino","navegacion"],"additionalProperties":false,"properties":{"destino":{"type":"string","format":"uri","description":"URL absoluta de la página pública solicitada."},"navegacion":{"const":"iniciada","description":"La navegación empezó; no afirma que terminó de cargar."}}},{"type":"object","properties":{"isError":{"const":true},"content":{"type":"array","minItems":1,"items":{"type":"object","properties":{"type":{"const":"text"},"text":{"type":"string"}},"required":["type","text"]}},"structuredContent":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean","description":"Indicación de reintento del servidor, cuando está disponible."},"retryAfter":{"type":"number","exclusiveMinimum":0,"description":"Segundos indicados por HTTP Retry-After cuando la API limita consultas."}}}}}},"required":["isError","content"]}]},"handlerField":"execute","page":"/categoria/12201-0001"}],"category":"Productivity & Business","favicon":"/favicons/postor.com.mx.png","apiSurface":"spec","toolCount":6}}