Skip to content

feedback/submit

Submits a first-party feedback report through the host, reusing the TUI submitter seam (consent, bundle-first persistence, redaction), and answers the upload receipt (ADR 42691 D2).

Type: FeedbackSubmitParams

feedback/submit params: mirrors the TUI confirm-time FeedbackRequest. The call itself is the explicit confirm.

Field Type Stability Presence Description
attachSessionRecord boolean optional Consent to attach the session record; honored only for bug/badResult with session_id present. true with with_files: false, with a non-bug/badResult classification, or without session_id is invalidParams (F4, F8). Defaults to false.
classification FeedbackClassification required The report class (required).
clientArtifactsPath string optional An absolute same-host path to a client-packed bundle, admitted only as a regular file under a size cap.
note string required The user report text (required; non-empty for bug).
sessionId string optional Names the session this call is about when present (F8, superseding F3): the bundle lands in that session’s dir. Names a session this host owns. When absent, the bundle lands in the host-level feedback folder and the session_id tag is omitted.
withFiles boolean required The files-consent decision (required).
Source

schema/msp/experimental/msp.schema.json#/methods/feedback~2Fsubmit

{
"description": "Submits a first-party feedback report through the host, reusing the TUI submitter seam (consent, bundle-first persistence, redaction), and answers the upload receipt (ADR 42691 D2).",
"params": {
"$ref": "#/$defs/FeedbackSubmitParams"
},
"result": {
"$ref": "#/$defs/FeedbackSubmitResult"
}
}