Cofounder CLI
Decisions
Ask a company member to decide what your agent should not decide alone, with the context they need, and read their answer.
Some calls belong to a person: shipping a pricing change, picking a launch date, approving copy. A decision asks a company member, with the context they need to answer quickly, and records their answer for your agent.
| MCP | CLI | API |
|---|---|---|
decisions_create | cofounder decisions create --title <text> --response-type confirm | POST /cofounder-cli/v1/decisions |
decisions_list | cofounder decisions list --status pending | GET /cofounder-cli/v1/decisions |
decisions_get | cofounder decisions get --decision-id <id> | GET /cofounder-cli/v1/decisions/{decision_id} |
decisions_submit | cofounder decisions submit --decision-id <id> --response-type confirm --approved | POST /cofounder-cli/v1/decisions/{decision_id}/answer |
decisions_cancel | cofounder decisions cancel --decision-id <id> | POST /cofounder-cli/v1/decisions/{decision_id}/cancel |
Asking
Give a one-line title, the context a person needs (background, trade-offs,
your recommendation), and how to answer:
confirm: yes or no, with an optional note.text: a written reply.choice: two to tenoptions; setallow_multipleto let them pick several.
Attach what helps them decide: text, an image or video URL, a link, or a
bar or line chart with labels and up to five series.
cofounder decisions create \
--title "Ship the new pricing page?" \
--context "Conversion on the test page is up 18% over two weeks." \
--response-type confirm \
--attachments '[{"type":"chart","chart_type":"line","labels":["W1","W2","W3"],"series":[{"name":"New","values":[40,47,52]}]}]'Reuse your own request_id to retry safely after a lost response.
Answering
Members answer with decisions submit or from any client built on this API.
Answering needs a signed-in
member's session; company API keys are refused. An agent using a member's
session should relay the question and submit only the answer that member gave.
Reading the answer
decisions get returns the answer once given. To wait instead of polling,
follow the decision.resolved company event, filtered by the decision_id
attribute (cofounder events list). Withdraw a decision you no longer need with
decisions cancel.