List Prime Contract Attachments
list_prime_contract_attachmentsList all attachments for a specific prime contract using company, project, and prime contract IDs. Returns a paginated list of attachment files.
Instructions
Returns a list of attachments for a given prime contract. Use this when you already know which prime contract attachment you want and need its full field set. company_id and project_id default to the values set by procore_set_config when omitted, and prime_contract_id must identify an existing parent record — resolve it with the matching list tool first. Returns a single JSON object describing the prime contract attachment. Read-only — it changes nothing in Procore. Failures come back as an error payload carrying the HTTP status — commonly 401 when the token has expired, 403 without tool permission, and 404 when an id does not resolve. Required parameters: company_id, project_id, prime_contract_id. Procore API (v2.0): Construction Financials > Prime Contracts. Endpoint: GET /rest/v2.0/companies/{company_id}/projects/{project_id}/prime_contracts/{prime_contract_id}/attachments
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Query string parameter — page number for paginated results (default: 1) | |
| per_page | No | Query string parameter — number of items per page (default: 100, max: 100) | |
| company_id | Yes | URL path parameter — unique identifier for the company. | |
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| prime_contract_id | Yes | URL path parameter — unique identifier for the Prime Contract. | |
| filters__contract__include_deleted | No | Query string parameter — whether to resolve the parent contract when it has been deleted. Set to true to list attachments for a deleted contract. Defaults to false. |