Skip to content

Read tools

Read tools let agents inspect existing Sleepwalker data owned by the authenticated account.

They do not create runs and do not consume credits.

Required scopes:

tests:read
runs:read
ToolUse it forScope
list_sleepwalker_testsList saved Content Intelligence and AI Visibility tests.tests:read
get_sleepwalker_summariesScan compact recent run summaries.runs:read
get_sleepwalker_test_resultsFetch latest run history for one saved test.runs:read
get_sleepwalker_reports_by_urlFind owned reports matching a URL.runs:read
get_sleepwalker_run_resultFetch one structured run result.runs:read
get_sleepwalker_prompt_responseFetch one capped AI Visibility prompt response.runs:read
get_sleepwalker_consistent_recommendationsFind recurring Content Intelligence recommendations.runs:read

Lists saved tests for the authenticated account.

InputTypeRequiredNotes
limitintegerNoMaximum 50.
test_typestringNocontent_intelligence or ai_citations.
brand_namestringNoFilters by brand name.

Use this first when the agent needs a test_id.

Returns compact run summaries before drilling into specific results.

InputTypeRequiredNotes
daysintegerNo1 to 30.
limitintegerNoMaximum 100.
test_idstringNoFilter to one saved test.
test_typestringNocontent_intelligence or ai_citations.
brand_namestringNoFilter by brand name.

Use this when the user asks for a recent account overview.

Fetches compact latest run history for one saved test.

InputTypeRequiredNotes
test_idstringYesOwned saved test ID.
limitintegerNoMaximum 5.

Use get_sleepwalker_run_result after this when the user chooses a specific run.

Finds saved tests and recent reports that match a URL.

InputTypeRequiredNotes
urlstringYesURL to search for.
test_typestringNocontent_intelligence or ai_citations.
daysintegerNo1 to 365.
limitintegerNoMaximum 20.

Use this when the user starts with a URL instead of a test name.

Fetches one structured run result.

InputTypeRequiredNotes
run_idstringYesOwned run ID.

For AI Visibility runs, raw prompt response bodies are intentionally not returned as one large payload. Use get_sleepwalker_prompt_response.

Fetches one AI Visibility prompt response chunk.

InputTypeRequiredNotes
run_idstringYesOwned AI Visibility run ID.
result_indexintegerNoFlattened result index.
platformstringNoPlatform filter.
prompt_indexintegerNoPrompt index, defaults to 0.
include_citationsbooleanNoDefaults to true.
max_charsintegerNo1 to 25,000.
offsetintegerNoUse for long responses.

Use this when the user wants the actual answer text, citations, or a specific prompt/platform response.

get_sleepwalker_consistent_recommendations

Section titled “get_sleepwalker_consistent_recommendations”

Finds recommendations that recur across recent Content Intelligence runs.

InputTypeRequiredNotes
test_idstringYesOwned Content Intelligence test ID.
runsintegerNo1 to 10.
min_frequencyintegerNoMinimum number of runs where a recommendation must appear.

Use this when the user asks what keeps coming up across repeated checks.

List my Sleepwalker tests and show the latest AI Visibility runs.
Find reports for https://www.example.com and summarize the latest result.
Open the latest visibility run and fetch the first Perplexity prompt response.