Skip to content

docs: document special Dataverse type formats in data command --data (#63)#169

Open
zekelinAlex wants to merge 1 commit into
TALXIS:masterfrom
zekelinAlex:users/alexander.zekelin/document-data-type-formats-issue-63
Open

docs: document special Dataverse type formats in data command --data (#63)#169
zekelinAlex wants to merge 1 commit into
TALXIS:masterfrom
zekelinAlex:users/alexander.zekelin/document-data-type-formats-issue-63

Conversation

@zekelinAlex

Copy link
Copy Markdown
Contributor

Closes #63

The --data option on record create/update and bulk create/update/upsert didn't explain how to format special Dataverse column types, so MCP agents had to discover by trial and error that option sets go as plain integers and lookups as GUID strings. Since the MCP input schemas are generated from the same CliOption attributes, the gap was visible both in CLI help and in the tool descriptions.

This adds the formats to the --data description on all five commands: OptionSet as an integer, Lookup as a GUID string or {Id,LogicalName} object, Money as a decimal, Boolean as true/false, DateTime as an ISO-8601 UTC string.

@TomProkop

Copy link
Copy Markdown
Member

We want to replace this custom JSON with CMT format. the CLI should provide better support for composing the CMT format, which should be consistently used across all commands working with data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: Document special Dataverse type formats in MCP data operation tool descriptions

2 participants