This is currently under development.
Schema
Copy
context:
name: computer
description: Provides information about the computer.
parameters:
type: object
properties:
activeApplication:
type: object
description: The currently active application.
properties:
foreground:
type: boolean
description: Indicates if the application is in the foreground.
id:
type: string
description: The identifier of the active application.
os:
type: string
description: Operating system name associated with the application.
processName:
type: string
description: The process name of the active application.
title:
type: string
description: The title of the active application.
currentTime:
type: string
format: date-time
description: The current time in ISO 8601 format.
osArch:
type: string
description: The architecture of the operating system.
osName:
type: string
description: The name of the operating system.
osVersion:
type: string
description: The version of the operating system.
visibleApplications:
type: array
description: A list of currently visible applications.
items:
type: object
properties:
id:
type: string
description: The identifier of the application.
title:
type: string
description: The title of the application window.
processName:
type: string
description: The process name of the application.
os:
type: string
description: Operating system name associated with the application.
foreground:
type: boolean
description: Indicates if the application is in the foreground.
Example
Copy
{
"activeApplication": {
"foreground": true,
"id": "3235",
"os": "Linux",
"processName": "firefox-bin",
"title": "Picture-in-Picture"
},
"currentTime": "2020-01-01T00:00:00Z",
"osArch": "amd64",
"osName": "Linux",
"osVersion": "6.8.0-51-generic",
"visibleApplications": [{
"id": "3235",
"title": "Firefox",
"processName": "firefox-bin",
"os": "Linux",
"foreground": false
}]
}