skills/create-record/SKILL.md
Create a new record in Dynamics 365. Uses metadata to validate fields, resolve option sets, and build correct lookup bindings.
npx skillsauth add nickmeron/Dataverse-MCP-Server skills/create-recordInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The user wants to create a new record in Dynamics 365.
Argument provided: $ARGUMENTS
Select environment — call list_environments, ask the user which environment (this is especially important for creates — you must confirm the target). Call select_environment.
Identify the entity — use list_entities if needed to find the EntitySetName (plural name for the API).
Discover the schema — call get_entity_attributes to understand:
@odata.bind syntaxResolve lookups — for any lookup field the user provides (e.g. "parent account = Contoso"):
get_entity_relationships (ManyToOne) to find what entity the lookup points toquery_records on that entity to find the GUID"[email protected]": "/pluralentity(guid)"Resolve option sets — for any picklist field:
get_picklist_options to get the integer Value for the Label the user providedBuild and submit — call create_record with the entity and data object.
Confirm — show the created record's ID and key details.
| Type | Format | Example |
|---|---|---|
| String | plain string | "name": "Contoso" |
| Integer | number | "numberofemployees": 500 |
| Decimal / Money | number | "revenue": 1000000.00 |
| Boolean | true/false | "donotphone": false |
| DateTime | ISO 8601 | "createdon": "2024-03-15T00:00:00Z" |
| Lookup | @odata.bind | "[email protected]": "/accounts(guid)" |
| Option Set | integer code | "industrycode": 7 |
createdon, modifiedon, createdby, modifiedby, versionnumber, primary IDAttributeType = Virtual) cannot be set directlytesting
Create, monitor, and manage bulk deletion jobs in Dynamics 365. Use when asked "bulk delete", "delete all records of type X", "create a bulk delete job", "check bulk delete status", "cancel bulk delete", "why did bulk delete fail".
data-ai
Produce a business-readable summary of a Dynamics 365 record or set of records. Uses metadata to understand the schema before querying.
testing
Investigate users, security roles, teams, and permissions in Dynamics 365. Use when asked "who has access to...", "what roles does X have?", "compare roles", or "show me users".
data-ai
Query Dynamics 365 records using natural language. Translates questions into OData queries with metadata-aware field selection.