Get All Custom Fields
get_all_custom_fieldsRetrieve all custom fields for a company to discover available fields or get a field's id before using other tools. Supports pagination, read-only.
Instructions
Retrieves all Custom Fields within the specified company. Use this to discover custom fields or to look up the id of one before calling a tool that needs it. company_id defaults to the value set by procore_set_config when omitted. Returns a JSON array of custom fields; page and per_page control pagination and the response reports how many pages remain. 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. Procore API: Company Admin > Custom - Configurable Tools. Endpoint: GET /rest/v1.0/workforce-planning/v2/companies/{company_id}/custom-fields
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for paginated results (default: 1, 1-indexed) | |
| per_page | No | Number of items per page (default: 100, max: 100) | |
| company_id | Yes | URL path parameter — unique identifier for the company. This parameter accepts both formats: - **Recommended**: Procore company ID (integer) - Use this for new integrations - Legacy: LaborChart UUID format (uuid string... |