List Twitter profile media
twitter_profile_media_listList an X profile's photo or video tweets by handle or numeric user id. Requires handle and type. Returns a list (use cursor when paginated). For the profile itself, use twitter_profile_get. Costs credits; see meta.creditsCharged.
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": {
"handle": "<handle>",
"type": "<type>",
"context": "<context>",
"llm_model": "<llm_model>"
},
"name": "twitter_profile_media_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Treat the path value as a handle or a numeric user id. Defaults to id when the value is all digits. | |
| type | Yes | Which media tab to read: `photos` (tweets with photos) or `videos` (tweets with videos). X keeps them as separate tabs. Keep it unchanged when paging. | |
| limit | No | Requested page size (1–100). Best-effort; the actual page size may differ. | |
| cursor | No | Pass `page.nextCursor` from the previous response to get the next page. | |
| handle | Yes | Required. X (Twitter) profile handle without the leading @, or a numeric user id. | |
| context | Yes | Describe the user's underlying goal in one sentence, not the tool you are calling. | |
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (for example "claude-opus-4-8" or "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" and do not guess. | |
| conversation_id | No | Echo the conversation_id from the server's previous response. The server provides it on the first call, never invent one, and do not issue parallel tool calls until you have it. |