Search Schools
search_schoolsSearch US colleges and universities by name. Returns school name, location, tuition, admission rate, student size, median earnings, and completion rate. Example: search_schools("MIT", "MA").
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "Stanford University",
"state": "CA"
},
"name": "search_schools"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results to return (default: 10, max: 100) | |
| query | Yes | School name to search for (e.g., "Stanford", "community college") | |
| state | No | Two-letter state code to filter (e.g., "CA", "NY") | |
| _apiKey | Yes | api.data.gov API key |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query string provided | |
| state | Yes | State filter (uppercase) or null | |
| total | Yes | Total matching schools in database | |
| schools | Yes | List of matching schools | |
| returned | Yes | Number of schools in this response |