Provenance
Freshness & coverage
Methods (16)
getContact
readRetrieve a CRM contact record by id and selected properties.
Input schema
{ "type": "object", "properties": { "id": { "type": "string" }, "properties": { "type": "array", "items": { "type": "string" } } }, "additionalProperties": false, "required": [ "id" ] }getCompany
readRetrieve a CRM company record by id and selected properties.
Input schema
{ "type": "object", "properties": { "id": { "type": "string" }, "properties": { "type": "array", "items": { "type": "string" } } }, "additionalProperties": false, "required": [ "id" ] }getDeal
readRetrieve a CRM deal record by id and selected properties.
Input schema
{ "type": "object", "properties": { "id": { "type": "string" }, "properties": { "type": "array", "items": { "type": "string" } } }, "additionalProperties": false, "required": [ "id" ] }getTicket
readRetrieve a single service ticket by id and selected properties.
Input schema
{ "type": "object", "properties": { "id": { "type": "string" }, "properties": { "type": "array", "items": { "type": "string" } } }, "additionalProperties": false, "required": [ "id" ] }createContact
writeCreate a new CRM contact record from the given properties.
Input schema
{ "type": "object", "properties": { "properties": { "type": "object", "properties": {}, "additionalProperties": true } }, "additionalProperties": false, "required": [ "properties" ] }createCompany
writeCreate a new CRM company record from the given properties.
Input schema
{ "type": "object", "properties": { "properties": { "type": "object", "properties": {}, "additionalProperties": true } }, "additionalProperties": false, "required": [ "properties" ] }updateDeal
writeUpdate an existing CRM deal by id with new property values.
Input schema
{ "type": "object", "properties": { "id": { "type": "string" }, "properties": { "type": "object", "properties": {}, "additionalProperties": true } }, "additionalProperties": false, "required": [ "id", "properties" ] }searchTickets
readSearch service tickets by query text, pipeline, stage, and priority.
Input schema
{ "type": "object", "properties": { "query": { "type": "string" }, "pipeline": { "type": "string" }, "stage": { "type": "string" }, "priority": { "type": "string" }, "properties": { "type": "array", "items": { "type": "string" } }, "limit": { "type": "number" }, "after": { "type": "string" }, "PageSize": { "type": "number" } }, "additionalProperties": false }searchContacts
readSearch HubSpot contacts by name, email, company, or free-text query.
Input schema
{ "type": "object", "properties": { "query": { "type": "string", "description": "Free-text search across contact fields" }, "email": { "type": "string", "description": "Exact email match" }, "name": { "type": "string", "description": "First name contains (partial match)" }, "company": { "type": "string", "description": "Company name contains (partial match)" }, "properties": { "type": "array", "items": { "type": "string" }, "description": "Property names to return (default: email, firstname, lastname, phone, company, jobtitle)" }, "limit": { "type": "number", "description": "Max results (default 100, max 200)" }, "after": { "type": "string", "description": "Pagination cursor from previous response" } }, "additionalProperties": false }searchCompanies
readSearch HubSpot companies by name, domain, industry, or free-text query.
Input schema
{ "type": "object", "properties": { "query": { "type": "string", "description": "Free-text search" }, "name": { "type": "string", "description": "Company name contains (partial match)" }, "domain": { "type": "string", "description": "Exact domain match (e.g., \"formentera.com\")" }, "industry": { "type": "string", "description": "Exact industry match" }, "properties": { "type": "array", "items": { "type": "string" }, "description": "Property names to return" }, "limit": { "type": "number", "description": "Max results (default 100, max 200)" }, "after": { "type": "string", "description": "Pagination cursor" } }, "additionalProperties": false }searchDeals
readSearch HubSpot deals by stage, pipeline, owner, or free-text query.
Input schema
{ "type": "object", "properties": { "query": { "type": "string", "description": "Free-text search across deal fields" }, "dealstage": { "type": "string", "description": "Deal stage ID (use getDealPipelines to discover stage IDs)" }, "pipeline": { "type": "string", "description": "Pipeline ID" }, "owner": { "type": "string", "description": "HubSpot owner ID" }, "properties": { "type": "array", "items": { "type": "string" }, "description": "Property names to return" }, "limit": { "type": "number", "description": "Max results (default 100, max 200)" }, "after": { "type": "string", "description": "Pagination cursor" } }, "additionalProperties": false }search
readGeneric CRM search for any object type with custom filters.
Input schema
{ "type": "object", "properties": { "objectType": { "type": "string", "description": "Object type: contacts, companies, deals, tickets, products, quotes, etc." }, "query": { "type": "string", "description": "Free-text search" }, "filters": { "type": "array", "items": { "type": "object", "properties": { "propertyName": { "type": "string" }, "operator": { "type": "string" }, "value": { "type": "string" }, "highValue": { "type": "string" }, "values": { "type": "array", "items": { "type": "string" } } }, "required": [ "propertyName", "operator" ], "additionalProperties": false }, "description": "Array of {propertyName, operator, value}. Operators: EQ, NEQ, LT, LTE, GT, GTE, BETWEEN, IN, CONTAINS_TOKEN, HAS_PROPERTY" }, "properties": { "type": "array", "items": { "type": "string" }, "description": "Property names to return" }, "sorts": { "type": "array", "items": { "type": "object", "properties": { "propertyName": { "type": "string" }, "direction": { "oneOf": [ { "type": "string", "enum": [ "DESCENDING" ] }, { "type": "string", "enum": [ "ASCENDING" ] } ] } }, "required": [ "propertyName" ], "additionalProperties": false }, "description": "Array of {propertyName, direction}" }, "limit": { "type": "number", "description": "Max results (default 100, max 200)" }, "after": { "type": "string", "description": "Pagination cursor" } }, "additionalProperties": false, "required": [ "objectType" ] }getAssociations
readGet associations between CRM objects (e.g., contact → companies, deal → contacts).
Required paramsfromObjectTypeobjectIdtoObjectTypeInput schema
{ "type": "object", "properties": { "fromObjectType": { "type": "string", "description": "Source object type (contacts, companies, deals, tickets)" }, "objectId": { "type": "string", "description": "Source object ID" }, "toObjectType": { "type": "string", "description": "Target object type" } }, "additionalProperties": false, "required": [ "fromObjectType", "objectId", "toObjectType" ] }createDeal
writeCreate a new deal. Requires dealname and dealstage properties.
Required paramspropertiesInput schema
{ "type": "object", "properties": { "properties": { "type": "object", "properties": {}, "additionalProperties": true, "description": "Deal properties. Required: dealname, dealstage. Optional: pipeline, amount, closedate, hubspot_owner_id." } }, "additionalProperties": false, "required": [ "properties" ] }getDealPipelines
readList all deal pipelines and their stages. Use this to discover stage IDs before filtering deals.
Input schema
{ "type": "object", "properties": {}, "additionalProperties": false }getProperties
readList all available properties for a CRM object type. Use this to discover field names before searching.
Required paramsobjectTypeInput schema
{ "type": "object", "properties": { "objectType": { "type": "string", "description": "Object type: contacts, companies, deals, tickets" } }, "additionalProperties": false, "required": [ "objectType" ] }
