Docs
/
/

Feedback command

Command for sending feedback about Knock from your terminal.

knock feedback [note] [flags]

#

Send bugs, friction, and feature requests to the Knock team. Agents can run this command to report issues they run into while completing a task.

Don't include secrets or personally identifiable information (PII) in your feedback.

Pass your feedback as the note argument. To read it from stdin instead, pass - as the note. If the note itself starts with a dash, put -- before it so the CLI doesn't read it as a flag.

Add context with the --field flag, which takes a key=value pair and can be repeated. Any key is accepted, every value is sent as a string, and when a key repeats, the last value wins. Knock recommends the following keys:

KeyDescription
typeA category, such as bug, friction, or feature.
productThe Knock product involved, such as workflows or guides.
modelThe name of the model used for the task.
toolThe tool, command, or endpoint affected.
taskWhat you were trying to do.
expectedWhat you expected to happen.
actualWhat happened, including any error text.
impactThe time spent, retries, or workarounds used.

A --field note=... pair is sent as the note. Pass the note either as the argument or as a field, not both, or the command exits with an error.

The CLI sends its version along with your feedback. Running knock feedback with no note and no fields prints the command's help.

Flags

--fieldstring

Context about the feedback as a key=value pair, such as type=bug. Repeatable.

--jsonboolean

Format output as json.

New chat