lookup_wait_time
Get the weekly waiting time for an NHS trust and specialty, with an explicit not-found result when data is unavailable.
Instructions
Look up the latest reported waiting time for one NHS trust and specialty from My Planned Care (updated weekly). Waits are in whole weeks. Provide the trust name as published (e.g. 'Guy's and St Thomas'') and the specialty (e.g. 'Cardiology'). Returns found=false if the trust/specialty is not held; do not invent a figure. Note the trust is identified by name here, unlike wait_time_trend which uses an RTT provider code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | ||
| specialty | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||