tools.tenor_search module
Tenor GIF Search tool.
Searches for GIFs and stickers using the Tenor API v2.
- async tools.tenor_search.run(query, limit=10, content_filter='medium', media_filter=None, search_filter=None, random=False, ctx=None)[source]
Execute this tool and return the result.
- Parameters:
query (
str) – Search query or input string.limit (
int) – Maximum number of items.content_filter (
str) – The content filter value.media_filter (
str) – The media filter value.search_filter (
str) – The search filter value.random (
bool) – The random value.ctx (
ToolContext|None) – Tool execution context providing access to bot internals.
- Returns:
Result string.
- Return type: