source_read
Reads a bounded .xml or .xpp source file and returns its encoding, newline style, and SHA-256 for safe inspection of Dynamics 365 X++ artifacts.
Instructions
Read a bounded .xml or .xpp source file with its encoding, newline style, and SHA-256.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "source_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| root | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| bom | No | ||
| kind | No | ||
| path | No | ||
| size | No | ||
| error | No | ||
| sha256 | No | ||
| content | No | ||
| newline | No | ||
| encoding | No |