Skip to content

preview_x_listening

posts:write

Try an X listening topic before saving it: runs its queries (up to 4 X searches, joined with OR) once over the last 7 days and returns the newest matches scored for intent (asking_for_tool, competitor_complaint, has_problem or discussing, with a reason), how many would pass minIntent, about how many posts a day it would find and the monthly credit cost after the daily cap. Spends about 10 credits; saves nothing. Use it to tune the queries from suggest_x_listening with the user, then save the topic with update_engagement_settings.

Input

  • queriesarray<string>required

    at least 1 items · at most 4 items

  • problemstring | null
  • minIntentinteger

    min 0 · max 100 · default 60

Permission

Needs the posts:write scope: create drafts. It changes your workspace, so clients may ask you to confirm each call.

Example call

Your assistant sends this for you. It is shown so you can see the shape of a call, with placeholder values for the required fields.

tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "preview_x_listening",
"arguments": {
"queries": [
"string"
]
}
}
}

Same action over the REST API

The tool runs POST /v1/orgs/{orgId}/engagement/x-listening-preview as the signed-in user, with the same validation, approval rules and limits. See it in the Reply inbox API reference.