Skip to main content
cognition.ai/updatedInput — set by the client on the selected session/request_permission outcome’s _meta when the user edited the command before approving. The value is a partial tool-arguments object (e.g. {"command": "..."}) that is merged over the original arguments before execution. The agent only honors this when the permission request carried [EditableCommandMeta] and the selected option approves the tool. An edited approval is always treated as approve-once: any persistent grant scope attached to the selected option is dropped, since it was derived from the original command.