Rescan a custom tool
POST
Run the tool's safety scan again now (unscanned tools are also retried automatically). If the scan cannot complete, the earlier verdict stands. Returns 404 for an unknown tool. Requires the coding:tools:write scope.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
tool_id*stringFormat
uuidcustomer_id?|nullRequest fulfilled, document follows
application/json- response
tool*curl -X POST 'https://api.syndai.ai/api/v1/external/coding/tools/497f6eca-6276-4993-bfeb-53cbbbba6f08/rescan'Example Response
{ "tool": { "auth_mode": "oauth", "auth_status": "pending", "config": {}, "description": "string", "description_hint": "string", "enabled": true, "has_token": true, "id": "string", "kind": "mcp_server", "name": "string", "not_ready_reason": "string", "oauth": { "connected_at": "string", "connected_by_left": true, "connected_by_name": "string", "issuer_host": "string", "redirect_uri": "string", "requested_scopes": [ "string" ], "scopes": [ "string" ] }, "repository_id": "string", "run_ready": true, "scan_reason": "string", "scan_status": "scanned", "scanned_at": "string" }}