01 / 0520:00Public · v0.1
Agent tools for Workspace ONE
An AI agent runs device management. A person approves the dangerous parts.
A personal project on the public Workspace ONE API. Not an Omnissa product.
- ws1 mdmv1 devices search --user alice@example.com
- {"ok":true,"count":2,"devices":["Alice's iPhone 15","Alice's MacBook Pro"]}
- ws1 mdmv2 commandsv2 execute --commandName Lock
- {"ok":true,"status":"Queued"}
- ws1 mdmv2 commandsv2 execute --commandName DeviceWipe
- Approval required (1 target). Waiting up to 5m0s ...
- {"ok":true,"approval_request_id":"req_k3x9p2"}
- ws1 audit verify
- {"ok":true,"total":2,"failures":null}
DestructiveReversibility: none
DeviceWipe
mdmv2.commandsv2.execute- 980operations
- 83need a person’s approval
- 50device cap on bulk writes without approval
How it works
A command-line tool and Claude skill that let an AI agent do routine work in Workspace ONE, the console IT teams use to manage company laptops and phones.
The hard part. An agent that can wipe a laptop must never do it alone. Destructive commands open a one-time approval page the agent can’t see or click, and every change lands in a tamper-evident log.
Built with. A Go CLI generated from 10 OpenAPI specs, shipped with a Claude skill. Anything missing from the policy file counts as destructive. An earlier MCP server with 21 tools is public too.