Skip to main content

Integrated Tools: Web, X, Code

Use Grok's native tools (Web Search, X Search, Code Execution) server-side: activation, filtering, costs, and concrete use cases.

16 lessons About 1 h 15 min Developer

What you'll learn

  • Activate Web Search, X Search, and Code Execution server-side via the Grok API
  • Restrict a search by domains, X handles, or date ranges to ensure source reliability
  • Leverage automatic citations to make a response verifiable by the end user
  • Execute Python code in the sandbox respecting its security constraints and libraries
  • Estimate the cost of a tool call and arbitrate between integrated tools and custom implementation

Course details

Who it's for
Developers, engineers, and integrators looking to leverage Grok via API in their applications.
Prerequisites
Ability to read Python and JSON, command line basics. An API key from the xAI console to try the examples.
Length
1 h 15 min · 16 lessons
Format
100% online self-paced course, accessible 24/7 from a browser. Progress saved, resume anytime. Estimated duration: 1 h 15 min.
Assessment
Practice exercises offered throughout the lessons. Each lesson ends with its Key takeaways, supporting self-assessment. A final quiz of 5 corrected questions, at the end of the last lesson, validates learning.
Accessibility
Self-paced course accessible to people with disabilities: text content compatible with screen readers, keyboard navigation, and compliant contrasts. For any adaptation needs, email [email protected].
Price
Free
Recognition
Certificate of completion issued by Corsen AI, verifiable online.

Syllabus

Start the course