MCPHerramientas MCP/Publicaciones/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).

Parámetros
connectionIdstringobligatorio
The Threads connection id the post will publish through.
qstringobligatorio
The place's name, e.g. a venue, neighbourhood or city.
latitudenumberopcional
Optional. Bias results near this latitude (with longitude).
longitudenumberopcional
Optional. Bias results near this longitude (with latitude).
Solicitud de ejemplo
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "search_threads_locations",
    "arguments": {
      "connectionId": "string",
      "q": "string"
    }
  }
}
Respuesta de ejemplo
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

La forma de la respuesta se muestra a modo ilustrativo — el contenido real depende de la herramienta y de tus datos.