Aller au contenu

confirm_code_scan_prop

AUTO-ACCEPT a (component, prop) as translatable - use this ONLY when the prop plainly carries user-facing text and you are highly confident (the samples are natural-language sentences/labels, the prop name is a text slot like label/title/placeholder/hint/error/message). A pick is authoritative at once: the next sonenta scan flags this prop's literal for extraction. It is recorded as created by you, so the console labels it "auto-accepted by the agent" and the human can undo it. If you are NOT sure, use propose_code_scan_prop instead. Idempotent 200 on the same pair (never a duplicate).

NomTypeDescription
project_uuidstringoptionnelProject UUID. Required when multiple projects are configured (SONENTA_PROJECTS); defaults to the single configured project otherwise.
componentstringrequisComponent or tag name, exactly as it appears in the inventory (e.g. Field, input).
propstringrequisProp/attribute name to confirm translatable.
notestringoptionnelOptional one-line justification, kept on the pick.
{
"tool": "confirm_code_scan_prop",
"arguments": {
"component": "<component>",
"prop": "<prop>"
}
}