Skip to main content
You.com API home page
Search...
⌘K
Discord
Get an API Key
Get an API Key
Search...
Navigation
Other Tools
Compute Tool
Get Started
API Reference
Tools
Developer Resources
MCP
MCP Server
Other Tools
Web Search Tool
Compute Tool
Research Tool
Other Tools
Compute Tool
The Compute tool allows your agent to use a Python code interpreter for tasks such as data analysis, mathematical calculations, and plot generation.
To enable it, pass it through the
tools
option:
Copy
Ask AI
{
...
"tools"
: [
...
{
"type"
:
"compute"
}
]
}
Web Search Tool
Research Tool
⌘I