Infrastructure notice detail
get_infra_projectRetrieve the full record for an infrastructure project by project_id from the latest PhilGEPS window. Returns matched:false for missing or outdated IDs, with clear error handling for fetch failures.
Instructions
Return the full record for one infrastructure project by project_id.
This tool looks up project_id inside the same latest ~100-notice PhilGEPS window search_infra_projects reads. An id from an older window returns matched: false, not an error, because the window has already moved on. Examples:
get_infra_project("PHILGEPS-INF-003") get_infra_project("DOES-NOT-EXIST")
On failure: an empty project_id or a project missing from the current window both return matched: false with a caveat, no upstream_error, and no data_status. A PhilGEPS fetch failure returns matched: false, data_status "unavailable", upstream_error true, and the real error text in caveats.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Reference number from search_infra_projects. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||