Get Session Result
get_session_resultRetrieves the state and result of a Veeam Backup & Replication session, optionally polling until it stops and returning logs when warnings or failures occur.
Instructions
State and result of a VBR session - the asynchronous run started by almost every action tool.
With wait_seconds, polls every 5 s until the session reaches Stopped or the time is up. When the session
stopped with a Warning or Failed result (or include_logs and it is still running), the session log records
are included so the reason is visible.
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": {
"session_id": "<session_id>"
},
"name": "get_session_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| include_logs | No | ||
| wait_seconds | No | Poll until the session stops, up to this. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||