Skip to main content
Server path: /dynamics-crm | Type: Application | PCID required: Yes Accounts, contacts, leads, and opportunities

Tools

ToolDescription
dynamics-crm_list_accountsLists all accounts in Microsoft Dynamics CRM with optional filtering and pagination
dynamics-crm_get_accountGets a specific account by ID from Microsoft Dynamics CRM
dynamics-crm_create_accountCreates a new account in Microsoft Dynamics CRM
dynamics-crm_update_accountUpdates an existing account in Microsoft Dynamics CRM
dynamics-crm_delete_accountDeletes an account from Microsoft Dynamics CRM
dynamics-crm_list_contactsLists all contacts in Microsoft Dynamics CRM with optional filtering and pagination
dynamics-crm_get_contactGets a specific contact by ID from Microsoft Dynamics CRM
dynamics-crm_create_contactCreates a new contact in Microsoft Dynamics CRM
dynamics-crm_update_contactUpdates an existing contact in Microsoft Dynamics CRM
dynamics-crm_delete_contactDeletes a contact from Microsoft Dynamics CRM
dynamics-crm_list_leadsLists all leads in Microsoft Dynamics CRM with optional filtering and pagination
dynamics-crm_get_leadGets a specific lead by ID from Microsoft Dynamics CRM
dynamics-crm_create_leadCreates a new lead in Microsoft Dynamics CRM
dynamics-crm_update_leadUpdates an existing lead in Microsoft Dynamics CRM
dynamics-crm_delete_leadDeletes a lead from Microsoft Dynamics CRM
dynamics-crm_list_opportunitiesLists all opportunities in Microsoft Dynamics CRM with optional filtering and pagination
dynamics-crm_get_opportunityGets a specific opportunity by ID from Microsoft Dynamics CRM
dynamics-crm_create_opportunityCreates a new opportunity in Microsoft Dynamics CRM
dynamics-crm_update_opportunityUpdates an existing opportunity in Microsoft Dynamics CRM
dynamics-crm_delete_opportunityDeletes an opportunity from Microsoft Dynamics CRM
dynamics-crm_get_entity_definitionsGets metadata about all available entities in Microsoft Dynamics CRM. Use this to discover what entities exist and their API names.
dynamics-crm_get_entity_attributesGets metadata about attributes (fields/columns) for a specific entity in Microsoft Dynamics CRM. Use this to discover what fields are available for an entity.
dynamics-crm_list_system_usersLists system users in Microsoft Dynamics CRM. Useful for finding user IDs to assign records.
dynamics-crm_get_system_userGets a specific system user by ID from Microsoft Dynamics CRM
dynamics-crm_query_entityQueries any entity in Microsoft Dynamics CRM using OData syntax. Use get_entity_definitions to find available entities.
dynamics-crm_get_recordGets a single record from any entity in Microsoft Dynamics CRM by ID
dynamics-crm_create_recordCreates a record in any entity in Microsoft Dynamics CRM. Use get_entity_attributes to discover required fields.
dynamics-crm_update_recordUpdates a record in any entity in Microsoft Dynamics CRM
dynamics-crm_delete_recordDeletes a record from any entity in Microsoft Dynamics CRM

dynamics-crm_list_accounts

Lists all accounts in Microsoft Dynamics CRM with optional filtering and pagination Parameters:
ParameterTypeRequiredDefaultDescription
pageSizenumberNo20Number of accounts per page (max 100)
pageTokenstringNoToken for pagination to get next page
filterstringNoOData filter expression (e.g., “statecode eq 0” for active accounts)
selectstringNoComma-separated list of fields to return

dynamics-crm_get_account

Gets a specific account by ID from Microsoft Dynamics CRM Parameters:
ParameterTypeRequiredDefaultDescription
accountIdstringYesThe unique identifier (GUID) of the account
selectstringNoComma-separated list of fields to return

dynamics-crm_create_account

Creates a new account in Microsoft Dynamics CRM Parameters:
ParameterTypeRequiredDefaultDescription
namestringYesAccount name (required)
accountnumberstringNoAccount number
telephone1stringNoMain phone number
emailaddress1stringNoPrimary email address
websiteurlstringNoWebsite URL
revenuenumberNoAnnual revenue
numberofemployeesnumberNoNumber of employees
industrycodenumberNoIndustry code
descriptionstringNoDescription
address1_line1stringNoStreet address line 1
address1_line2stringNoStreet address line 2
address1_citystringNoCity
address1_stateorprovincestringNoState/Province
address1_postalcodestringNoPostal code
address1_countrystringNoCountry

dynamics-crm_update_account

Updates an existing account in Microsoft Dynamics CRM Parameters:
ParameterTypeRequiredDefaultDescription
accountIdstringYesThe unique identifier (GUID) of the account to update
namestringNoAccount name
accountnumberstringNoAccount number
telephone1stringNoMain phone number
emailaddress1stringNoPrimary email address
websiteurlstringNoWebsite URL
revenuenumberNoAnnual revenue
numberofemployeesnumberNoNumber of employees
descriptionstringNoDescription
statecodenumberNoState code (0=Active, 1=Inactive)

dynamics-crm_delete_account

Deletes an account from Microsoft Dynamics CRM Parameters:
ParameterTypeRequiredDefaultDescription
accountIdstringYesThe unique identifier (GUID) of the account to delete

dynamics-crm_list_contacts

Lists all contacts in Microsoft Dynamics CRM with optional filtering and pagination Parameters:
ParameterTypeRequiredDefaultDescription
pageSizenumberNo20Number of contacts per page (max 100)
pageTokenstringNoToken for pagination to get next page
filterstringNoOData filter expression (e.g., “statecode eq 0” for active contacts)
selectstringNoComma-separated list of fields to return

dynamics-crm_get_contact

Gets a specific contact by ID from Microsoft Dynamics CRM Parameters:
ParameterTypeRequiredDefaultDescription
contactIdstringYesThe unique identifier (GUID) of the contact
selectstringNoComma-separated list of fields to return

dynamics-crm_create_contact

Creates a new contact in Microsoft Dynamics CRM Parameters:
ParameterTypeRequiredDefaultDescription
firstnamestringNoFirst name
lastnamestringYesLast name (required)
emailaddress1stringNoPrimary email address
telephone1stringNoBusiness phone
mobilephonestringNoMobile phone
jobtitlestringNoJob title
departmentstringNoDepartment
parentAccountIdstringNoParent account ID (GUID) to link this contact to
ownerIdstringNoOwner/user ID (GUID) to assign this contact to
address1_line1stringNoStreet address
address1_citystringNoCity
address1_stateorprovincestringNoState/Province
address1_postalcodestringNoPostal code
address1_countrystringNoCountry
preferredcontactmethodcodenumberNoPreferred contact method (1=Any, 2=Email, 3=Phone)

dynamics-crm_update_contact

Updates an existing contact in Microsoft Dynamics CRM Parameters:
ParameterTypeRequiredDefaultDescription
contactIdstringYesThe unique identifier (GUID) of the contact to update
firstnamestringNoFirst name
lastnamestringNoLast name
emailaddress1stringNoPrimary email address
telephone1stringNoBusiness phone
mobilephonestringNoMobile phone
jobtitlestringNoJob title
departmentstringNoDepartment
statecodenumberNoState code (0=Active, 1=Inactive)

dynamics-crm_delete_contact

Deletes a contact from Microsoft Dynamics CRM Parameters:
ParameterTypeRequiredDefaultDescription
contactIdstringYesThe unique identifier (GUID) of the contact to delete

dynamics-crm_list_leads

Lists all leads in Microsoft Dynamics CRM with optional filtering and pagination Parameters:
ParameterTypeRequiredDefaultDescription
pageSizenumberNo20Number of leads per page (max 100)
pageTokenstringNoToken for pagination to get next page
filterstringNoOData filter expression (e.g., “statecode eq 0” for open leads, “leadqualitycode eq 1” for hot leads)
selectstringNoComma-separated list of fields to return

dynamics-crm_get_lead

Gets a specific lead by ID from Microsoft Dynamics CRM Parameters:
ParameterTypeRequiredDefaultDescription
leadIdstringYesThe unique identifier (GUID) of the lead
selectstringNoComma-separated list of fields to return

dynamics-crm_create_lead

Creates a new lead in Microsoft Dynamics CRM Parameters:
ParameterTypeRequiredDefaultDescription
subjectstringYesLead topic/subject (required)
firstnamestringNoFirst name
lastnamestringYesLast name (required)
companynamestringNoCompany name
emailaddress1stringNoPrimary email address
telephone1stringNoBusiness phone
mobilephonestringNoMobile phone
websiteurlstringNoWebsite URL
jobtitlestringNoJob title
leadqualitycodenumberNoLead quality (1=Hot, 2=Warm, 3=Cold)
leadsourcecodenumberNoLead source (1=Advertisement, 2=Employee Referral, 3=External Referral, 4=Partner, 5=Public Relations, 6=Seminar, 7=Trade Show, 8=Web, 9=Word of Mouth, 10=Other)
budgetamountnumberNoBudget amount
estimatedamountnumberNoEstimated revenue
estimatedclosedatestringNoEstimated close date (ISO 8601 format)
address1_line1stringNoStreet address
address1_citystringNoCity
address1_stateorprovincestringNoState/Province
address1_postalcodestringNoPostal code
address1_countrystringNoCountry
descriptionstringNoDescription/notes
ownerIdstringNoOwner/user ID (GUID) to assign this lead to

dynamics-crm_update_lead

Updates an existing lead in Microsoft Dynamics CRM Parameters:
ParameterTypeRequiredDefaultDescription
leadIdstringYesThe unique identifier (GUID) of the lead to update
subjectstringNoLead topic/subject
firstnamestringNoFirst name
lastnamestringNoLast name
companynamestringNoCompany name
emailaddress1stringNoPrimary email address
telephone1stringNoBusiness phone
leadqualitycodenumberNoLead quality (1=Hot, 2=Warm, 3=Cold)
budgetamountnumberNoBudget amount
descriptionstringNoDescription/notes
statecodenumberNoState code (0=Open, 1=Qualified, 2=Disqualified)

dynamics-crm_delete_lead

Deletes a lead from Microsoft Dynamics CRM Parameters:
ParameterTypeRequiredDefaultDescription
leadIdstringYesThe unique identifier (GUID) of the lead to delete

dynamics-crm_list_opportunities

Lists all opportunities in Microsoft Dynamics CRM with optional filtering and pagination Parameters:
ParameterTypeRequiredDefaultDescription
pageSizenumberNo20Number of opportunities per page (max 100)
pageTokenstringNoToken for pagination to get next page
filterstringNoOData filter expression (e.g., “statecode eq 0” for open opportunities, “opportunityratingcode eq 1” for hot opportunities)
selectstringNoComma-separated list of fields to return

dynamics-crm_get_opportunity

Gets a specific opportunity by ID from Microsoft Dynamics CRM Parameters:
ParameterTypeRequiredDefaultDescription
opportunityIdstringYesThe unique identifier (GUID) of the opportunity
selectstringNoComma-separated list of fields to return

dynamics-crm_create_opportunity

Creates a new opportunity in Microsoft Dynamics CRM Parameters:
ParameterTypeRequiredDefaultDescription
namestringYesOpportunity name (required)
customerIdstringYesCustomer ID (GUID) - can be an account or contact ID (required)
customerTypestringNo"account"Whether customerId refers to an account or contact
estimatedvaluenumberNoEstimated value/revenue
budgetamountnumberNoBudget amount
estimatedclosedatestringNoEstimated close date (ISO 8601 format)
opportunityratingcodenumberNoRating (1=Hot, 2=Warm, 3=Cold)
closeprobabilitynumberNoClose probability (0-100)
prioritycodenumberNoPriority (1=Default, 2=High, 3=Low)
descriptionstringNoDescription
stepnamestringNoSales stage name
parentAccountIdstringNoParent account ID (GUID)
parentContactIdstringNoParent contact ID (GUID)
ownerIdstringNoOwner/user ID (GUID) to assign this opportunity to

dynamics-crm_update_opportunity

Updates an existing opportunity in Microsoft Dynamics CRM Parameters:
ParameterTypeRequiredDefaultDescription
opportunityIdstringYesThe unique identifier (GUID) of the opportunity to update
namestringNoOpportunity name
customerIdstringNoCustomer ID (GUID) - can be an account or contact ID
customerTypestringNoWhether customerId refers to an account or contact (required if customerId is provided)
estimatedvaluenumberNoEstimated value/revenue
budgetamountnumberNoBudget amount
estimatedclosedatestringNoEstimated close date (ISO 8601 format)
opportunityratingcodenumberNoRating (1=Hot, 2=Warm, 3=Cold)
closeprobabilitynumberNoClose probability (0-100)
descriptionstringNoDescription
stepnamestringNoSales stage name
statecodenumberNoState code (0=Open, 1=Won, 2=Lost)

dynamics-crm_delete_opportunity

Deletes an opportunity from Microsoft Dynamics CRM Parameters:
ParameterTypeRequiredDefaultDescription
opportunityIdstringYesThe unique identifier (GUID) of the opportunity to delete

dynamics-crm_get_entity_definitions

Gets metadata about all available entities in Microsoft Dynamics CRM. Use this to discover what entities exist and their API names. Parameters:
ParameterTypeRequiredDefaultDescription
selectstringNoComma-separated list of metadata properties to return (e.g., “LogicalName,DisplayName,EntitySetName”)

dynamics-crm_get_entity_attributes

Gets metadata about attributes (fields/columns) for a specific entity in Microsoft Dynamics CRM. Use this to discover what fields are available for an entity. Parameters:
ParameterTypeRequiredDefaultDescription
entityLogicalNamestringYesThe logical name of the entity (e.g., “account”, “contact”, “lead”, “opportunity”, or custom entity name)
selectstringNoComma-separated list of attribute properties to return
filterstringNoOData filter (e.g., “IsCustomAttribute eq true” for custom fields only, “IsValidForCreate eq true” for creatable fields)

dynamics-crm_list_system_users

Lists system users in Microsoft Dynamics CRM. Useful for finding user IDs to assign records. Parameters:
ParameterTypeRequiredDefaultDescription
pageSizenumberNo20Number of users per page (max 100)
pageTokenstringNoToken for pagination to get next page
filterstringNoOData filter expression (e.g., “isdisabled eq false” for active users only)
selectstringNoComma-separated list of fields to return

dynamics-crm_get_system_user

Gets a specific system user by ID from Microsoft Dynamics CRM Parameters:
ParameterTypeRequiredDefaultDescription
systemUserIdstringYesThe unique identifier (GUID) of the system user
selectstringNoComma-separated list of fields to return

dynamics-crm_query_entity

Queries any entity in Microsoft Dynamics CRM using OData syntax. Use get_entity_definitions to find available entities. Parameters:
ParameterTypeRequiredDefaultDescription
entitySetNamestringYesThe entity set name (plural form, e.g., “accounts”, “contacts”, “leads”, “opportunities”, or custom entity set name)
filterstringNoOData $filter expression
selectstringNoComma-separated list of fields to return ($select)
orderbystringNoField(s) to sort by ($orderby, e.g., “modifiedon desc”)
topnumberNoMaximum number of records to return ($top)
expandstringNoRelated entities to expand ($expand)

dynamics-crm_get_record

Gets a single record from any entity in Microsoft Dynamics CRM by ID Parameters:
ParameterTypeRequiredDefaultDescription
entitySetNamestringYesThe entity set name (plural form, e.g., “accounts”, “contacts”)
recordIdstringYesThe unique identifier (GUID) of the record
selectstringNoComma-separated list of fields to return

dynamics-crm_create_record

Creates a record in any entity in Microsoft Dynamics CRM. Use get_entity_attributes to discover required fields. Parameters:
ParameterTypeRequiredDefaultDescription
entitySetNamestringYesThe entity set name (plural form, e.g., “accounts”, “contacts”, or custom entity set name)
dataobjectYesThe record data as a JSON object. Use field logical names as keys.

dynamics-crm_update_record

Updates a record in any entity in Microsoft Dynamics CRM Parameters:
ParameterTypeRequiredDefaultDescription
entitySetNamestringYesThe entity set name (plural form, e.g., “accounts”, “contacts”)
recordIdstringYesThe unique identifier (GUID) of the record to update
dataobjectYesThe fields to update as a JSON object. Only include fields you want to change.

dynamics-crm_delete_record

Deletes a record from any entity in Microsoft Dynamics CRM Parameters:
ParameterTypeRequiredDefaultDescription
entitySetNamestringYesThe entity set name (plural form, e.g., “accounts”, “contacts”)
recordIdstringYesThe unique identifier (GUID) of the record to delete