search_threads
Find Instagram DM threads by username or thread title, returning matching conversations and a result count.
Instructions
Search threads by username or title.
Args: query: Search query (username or thread title).
Returns: Object with 'query', 'threads' array of matches, and 'count'.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_threads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||