ui.pick.v1
Choose item
Asks the user to select one item from a bounded exact list.
At a glance
| Callable by | plugin |
| Provided by | dev.tenon.core |
Not reachable from tenon-cli
ui.pick.v1 is not in the cli audience, so a shell cannot send it. Naming an intent never grants authority — audience is checked before anything else.
Input and output
Schema not reproduced here
ui.pick.v1 is served only to plugins, so the CLI discovery path this page is generated from cannot read its schema — and a hand-copied schema on a website is a schema that goes stale. Ask the runtime instead, from inside a plugin that declares it in intents.uses:
js
const contracts = await tenon.intents.list()
const contract = contracts.find(c => c.name === "ui.pick.v1")
tenon.log(JSON.stringify(contract.inputSchema, null, 2))The definition itself is in CoreIntentCatalog.swift.
Call it
From a plugin — declare it in intents.uses first:
js
const result = await tenon.intents.send("ui.pick.v1", {})
if (!result.ok) throw new Error(result.error.code)