TTMSMCPServer.UpdateTaskStatus Method
Moves a task to a new status and notifies the client that owns it. Use it to report progress from long-running work.
API unit family: TMS.MCP.Server
Declaring type: TTMSMCPServer
Inherited from: TTMSMCPCustomServer
Syntax
procedure UpdateTaskStatus(const ATaskId: string; AStatus: TTMSMCPTaskStatus; const AMessage: string = '');
Parameters
| Name | Description |
|---|---|
ATaskId |
Identifier of the task to update. |
AStatus |
New status to record. |
AMessage |
Optional human-readable note describing the change. |