run_self_test
Verify all yfinance-ai tools are working by running 64 checks and reporting pass/fail status with sample data per financial data category.
Instructions
Run comprehensive self-test of the yfinance-ai tools (64 checks).
This function is designed to be called by AI assistants to verify that all tools are working correctly. It tests each tool category, reports success/failure status, and shows sample data from each test.
Args: ticker: Ticker symbol to use for testing (default: SPY - reliable ETF with full data)
Returns: Comprehensive test report with pass/fail status and sample data for all tools
Example AI Prompt: "Run self-test on yfinance tools" "Test all financial data functions" "Verify yfinance-ai is working"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | No | SPY |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |