Set Runtime Configuration Value
procore_set_configSet the default company or project ID for subsequent Procore API calls, allowing context switching mid-session without restarting the server.
Instructions
Sets the default company_id or project_id that later procore_api_call requests use when the path needs one and you omit it. Use it to switch project context mid-session instead of restarting the server, then call procore_get_config to confirm what took effect. Only 'company_id' and 'project_id' are accepted; both are coerced to integers, and a non-numeric value is reported back as a message rather than stored. The change lives in memory for this server process only — it is never written to disk and is lost on restart. Setting the same value twice is a no-op, and nothing in Procore is modified: this only changes which ids this server fills in for you. Returns a confirmation plus the full updated configuration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Which default to set. These are the only accepted keys; any other value is rejected. | |
| value | Yes | The id to store, as a string of digits (e.g. '12345'). Coerced to an integer; a non-numeric value is rejected. |