Skip to main content

revertCopilotMemoryWrite

Requires permission catalog:copilot:chat.

Undo one write Minori's memory capture made for the CALLER, by the factId and writtenAt a memory frame reported. Returns false when there is nothing to undo: the fact changed since, is not the caller's, was not captured, was forgotten, or was already undone.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation RevertCopilotMemoryWrite($factId: String!, $writtenAt: Float!) {
revertCopilotMemoryWrite(factId: $factId, writtenAt: $writtenAt)
}

Variables:

{
"factId": "string",
"writtenAt": 0
}

Response:

{
"data": {
"revertCopilotMemoryWrite": true
}
}
revertCopilotMemoryWrite(
factId: String!
writtenAt: Float!
): Boolean!

Arguments​

revertCopilotMemoryWrite.factId ● String! non-null scalar​

The key of the fact.

revertCopilotMemoryWrite.writtenAt ● Float! non-null scalar​

The time the write was recorded, in milliseconds since 1970.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.