搜索牛客网
nowcoder_searchSearches Nowcoder for interview experiences, programming problems, discussions, or jobs by keyword, with optional type filters and pagination.
Instructions
在牛客网上搜索内容,支持按类型筛选。可搜索讨论帖、面经、编程题、职位等。
Args:
query (string): 搜索关键词
type (string): 搜索类型 - "all"(综合), "discuss"(讨论/面经), "problem"(题库), "job"(职位)
page (number): 页码,从1开始
response_format (string): 输出格式 - "markdown"(默认, 人类可读) 或 "json"(机器可解析)
Returns: 搜索结果列表,包含标题、链接、摘要、作者、时间
Examples:
搜索Java面经: { "query": "Java面经", "type": "discuss", "page": 1 }
搜索算法题(JSON格式): { "query": "二叉树", "type": "problem", "response_format": "json" }
综合搜索: { "query": "字节跳动", "type": "all", "page": 2 }
Error Handling:
页面加载超时时会返回友好的超时提示
网络连接失败时会提示检查网络
无搜索结果时会建议更换关键词
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 页码,从1开始 | |
| type | No | 搜索类型: all(综合), discuss(讨论/面经), problem(题库), job(职位) | all |
| query | Yes | 搜索关键词 | |
| response_format | No | 输出格式: 'markdown' 人类可读, 'json' 机器可解析 | markdown |