Skip to content

Commit cebffa6

Browse files
committed
Fix URL scanner query
1 parent 7227fd6 commit cebffa6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

apps/radar/src/tools/url-scanner.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ export function registerUrlScannerTools(agent: RadarMCP) {
3434
// Search if there are recent scans for the URL
3535
const scans = await client.urlScanner.scans.list({
3636
account_id: accountId,
37-
size: 1,
38-
q: `page.url:${url}`,
37+
q: `page.url:"${url}"`,
3938
})
4039

4140
let scanId = scans.results.length > 0 ? scans.results[0]._id : null

0 commit comments

Comments
 (0)