Create a role
create_roleCreate a role (an open position) to source people for. AyHire suggests its criteria from the title and brief (what the role needs, each with an importance: must, important or nice; people are judged against them) unless you pass criteria, and turns the title and brief into a starting GitHub search unless you pass query/language. The role goes in your current workspace (or workspace) and also appears in the AyHire web app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brief | No | What the role needs, in plain words (optional) | |
| query | No | Words to search repos for, e.g. 'agent framework' (optional) | |
| title | Yes | e.g. 'Senior TypeScript engineer, AI agents' | |
| criteria | No | What the role needs, judged from public work: 3-6 items, each { name (2-6 words, specific), description (what good public evidence looks like), importance (must | important | nice) }. Never personal traits or location (location is a search filter). | |
| language | No | Main repo language, e.g. 'TypeScript' (optional) | |
| workspace | No | Workspace name or id (optional). Default: your current workspace, the one the web app shows. See list_workspaces. | |
| created_after | No | Only repos created on/after YYYY-MM-DD, for recent hits (optional) |