Tools
Tools Python SDK Integration
Log any external tools used in your LLM applications to Helicone using Helicone’s Python SDK.
The HeliconeManualLogger
class can be used to log any external tools used in your LLM applications to Helicone.
1
To get started, install the `helicone-helpers` package
2
Create a new HeliconeManualLogger instance
3
Log your request - Example
Quick example: Calculator tool
Example: Weather API tool (log timing )
For more complex examples including weather APIs, database queries, and document search, check out our full examples on GitHub.
API Reference
HeliconeManualLogger
logRequest
Parameters
request
: - The request object to log
operation
:Callable[[HeliconeResultRecorder], T]
- The operation to be executed and logged
additionalHeaders
:dict
- Additional headers to be sent with the request
- This can be used to use features like session management, custom properties, etc.
Was this page helpful?