Save snapshot
save_snapshotSaves current Copilot Studio agent definitions to a local JSON file for later comparison, enabling scheduled history tracking and change detection through diffs.
Instructions
Save the current agent definitions to a local JSON file, to compare against later.
Writes one file into the server's snapshot folder on the machine where the server runs
(AGENT_SNAPSHOT_DIR). Nothing is written to Dataverse. The file holds agent definitions, including
instructions, so treat it like the environment itself. label (optional) is added to the file name.
Run it on a schedule to build a history; diff_snapshot shows what changed since any earlier file.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "save_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |