Submit code findings
submit_findingsSaves code review findings from the customer's repository to the audit: server-side events, dedup IDs, Pixel and container presence, payment provider, framework, backend location and existing Conversions API quality, plus the relative paths reviewed and any inapplicable checks with reasons. Unknown values stay unknown, not failed. Findings are stored as agent-reported, not verified deployed behavior. A group label is a label only; each report stays separate. Returns the updated audit decision and report link.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "submit_findings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | the site these findings belong to | |
| group | No | legacy grouping label only; does not combine reports or verify domain ownership | |
| notes | No | anything else found; a string or an array of strings | |
| backend | No | where the backend code is: in this repo, a separate repo not available here, or unknown | |
| audit_id | No | audit run ID returned by Tyton; each audit run has its own ID | |
| revision | No | latest run revision; 0 for the first write of a new audit session, then the revision returned by the previous write | |
| audit_key | No | private audit write capability returned by Tyton; a secret that authorizes changes to this audit only | |
| dedup_ids | No | orderId/event_id on both browser and server events? | |
| framework | No | frontend framework (from package.json deps) | |
| request_id | No | UUID identifying one mutation; a repeated request_id with identical content is treated as a retry | |
| existing_capi | No | grades for existing CAPI code, if any: hashes_pii (does it hash emails/phones before sending?), sends_event_id (does each server event include an event_id?), graph_version (which Graph API version, e.g. v19.0), test_event_code_in_prod (is a test code left in production?), sends_fbp_fbc (are browser cookie values forwarded?) | |
| pixel_in_code | No | Meta Pixel initialized anywhere in the code? | |
| not_applicable | No | Inapplicable checks, each with the actual reason, based on reviewed files and confirmed scope. Missing access counts as unknown, not N/A. | |
| reviewed_files | No | relative paths actually inspected in the relevant customer repository; no source code, absolute paths or secret files | |
| server_evidence | No | one line: file/function where it was found | |
| checkout_domains | No | domains the checkout lives on, if separate; no customer paths or query strings | |
| payment_provider | No | payment processor used (from package.json, env vars, webhook routes) | |
| container_in_code | No | Tyton container script embedded? | |
| server_side_events | No | code sends server-side events (CAPI/SDK/webhook)? unknown when not checked |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| kind | Yes | ||
| source | Yes | ||
| status | Yes | ||
| context | No | ||
| session | No | ||
| decision | No | ||
| findings | Yes | ||
| inventory | No | ||
| reportUrl | No | ||
| capturedAt | Yes | ||
| components | No | ||
| limitations | Yes | ||
| nextActions | Yes | ||
| reportSaved | Yes | ||
| observations | No | ||
| schemaVersion | Yes |