MCPMCP-Tools/Beiträge/search_threads_locations

search_threads_locations

Readposts:read

Find a public place to tag a Threads post with. Returns Threads' own place ids: put one on the post as threadsLocationId, with its name as threadsLocationName. This is a place on Threads, not the client's Synup location. q: 2–80 characters; latitude and longitude are optional and go together. Needs the place-tag permission on the connection (see get_threads_capabilities).

Parameter
connectionIdstringerforderlich
The Threads connection id the post will publish through.
qstringerforderlich
The place's name, e.g. a venue, neighbourhood or city.
latitudenumberoptional
Optional. Bias results near this latitude (with longitude).
longitudenumberoptional
Optional. Bias results near this longitude (with latitude).
Beispielanfrage
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "search_threads_locations",
    "arguments": {
      "connectionId": "string",
      "q": "string"
    }
  }
}
Beispielantwort
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

Die Antwortform dient nur zur Veranschaulichung — der tatsächliche Inhalt hängt vom Tool und Ihren Daten ab.