Files
sim/apps/sim/tools/microsoft_dataverse
Waleed d32b9661d6 fix(microsoft-dataverse): align integration with live API docs, add table metadata tool (#5481)
* fix(microsoft-dataverse): align integration with live API docs, add table metadata tool

- trim environment URL/entity/record IDs across all tools via shared getDataverseBaseUrl
- encodeURIComponent OData $select/$filter/$orderby/$expand values in list_records/get_record
- fix $top being silently ignored when Prefer: odata.maxpagesize is also sent
- add microsoft_dataverse_get_entity_metadata tool for table/column lookup (covered by existing user_impersonation scope, no new scopes)

* fix(microsoft-dataverse): clear stale select subBlock when mapping metadataSelect

* fix(microsoft-dataverse): escape OData quotes in entity metadata key, surface JSON parse errors

* fix(microsoft-dataverse): fix function alias params, add upload size guard, restore file output back-compat

- execute_function: support @p1/@p2 parameter alias query-string bindings for values with reserved characters, per Dataverse Web API function docs
- upload-file route: reject files over Dataverse's 128MB single-request upload ceiling with a clear error instead of an opaque API failure
- download_file: add canonical `file` output (type: 'file') so downloaded bytes get persisted through Sim's execution file storage like every other file-download tool, while keeping the pre-existing fileContent/fileName/fileSize/mimeType fields for backwards compatibility with existing workflows

* improvement(microsoft-dataverse): clarify fileColumn output description
2026-07-07 12:17:27 -07:00
..