midnight-search-typescript
Search TypeScript SDK code to locate type definitions, API implementations, and integration patterns.
Instructions
Search TypeScript SDK code, types, and API implementations. Use this to find how to use the Midnight JavaScript SDK, type definitions, and integration patterns.
USAGE GUIDANCE: • Call at most 2 times per question - refine keywords rather than repeating • For contract code, use midnight-search-compact instead • Include "type" or "interface" in query for type definitions
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query for TypeScript SDK code | |
| includeTypes | No | Include type definitions (default: true) | |
| includeExamples | No | Include usage examples (default: true) | |
| limit | No | Maximum results to return (default: 10) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | Array of search results | |
| totalResults | Yes | Total number of results returned | |
| query | Yes | The search query used | |
| warnings | No | Any warnings about the search |