List Attachments
list_attachments_companyRetrieve a list of attachments for a specific asset in Procore by providing company ID and asset ID. Returns the attached files.
Instructions
Returns a list of attachments for a given asset. Use this when you already know which attachment you want and need its full field set. company_id defaults to the value set by procore_set_config when omitted, and asset_id must identify an existing parent record — resolve it with the matching list tool first. Returns a single JSON object describing the 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, asset_id. Procore API (v2.0): Core > Assets. Endpoint: GET /rest/v2.0/companies/{company_id}/assets/{asset_id}/attachments
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Query string parameter — one-based page index (1..N) | |
| sort | No | Query string parameter — sorting criteria in minus-based order format. Default sort order is ascending. Multiple sort criteria can be provided in CSV format, for example: sort=file_name,-modified_at. | |
| asset_id | Yes | URL path parameter — unique identifier for the Asset | |
| per_page | No | Query string parameter — the size of the page to be returned | |
| company_id | Yes | URL path parameter — unique identifier for the company. | |
| Accept-Language | No | JSON request body field — locale for localized response messages (for example: en, fr-FR, pseudo) |