YUNOVA · AI Agents · Module 9: Agents with the OpenAI and Claude SDKs

The first tool call in Python

Notes for offline study · 30 November 2026

The first tool call in Python

Key points

  • Tool को एक नाम, description और JSON Schema वाले parameters के साथ define करके API request में भेजा जाता है।
  • Model ज़रूरत समझे तो जवाब में tool call लौटाता है, जिसमें tool का नाम और arguments होते हैं।
  • आपका Python code उसी नाम का function arguments के साथ चलाता है और result model को वापस भेजता है।

Free on YUNOVA · yunova.in · Sign in to add your own lesson notes to this sheet.

Notes: The first tool call in Python | YUNOVA