Skip to content

crm_read

crm_read forwards a read request to your tenant’s connected CRM. OnFire resolves the stored credentials and routes the call, so you never handle auth or provider tokens.

  • Look up accounts, contacts, opportunities, or any CRM object your tenant has connected.
  • Confirm what already exists in the CRM before a crm_write.

Call get_tenant_settings first and read settings.crm — it tells you the provider and gives you the integration_id this tool requires.

ParameterTypeRequiredDescription
integration_idnumberYesThe CRM integration id from settings.crm.integration_id.
relative_urlstringYesAPI path relative to the provider API root — never repeat the root.
http_methodstringNoGET (default) or a read-shaped POST.
json_bodyobjectNoBody for read-shaped POSTs.
paramsobjectNoQuery-string parameters.

Any GET, plus the read-shaped HubSpot v3+ POSTs — <object>/search, batch/read, associations/.../batch/read. Anything else is rejected server-side; writes go through crm_write.

relative_url is relative to the provider’s API root, which the proxy already routes to:

ProviderAPI rootExample relative_url
Salesforceservices/data/vXX.X/query/?q=..., sobjects/Account
HubSpotcrm/v3/objects/contacts/search

JSON with status (success / target_http_error), status_code, and content — the target API response, parsed as JSON where possible.

  • Scoped to your own tenant’s CRM integration.
  • Present operations to the user in business terms — API paths, methods, and vendor names are implementation detail.