OpenTrain
NPM · @OPENTRAIN-AI/MCP · SCANNED AUG 3
Hire human data labelers, RLHF annotators, and evaluators from your coding agent.
Available components
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →
Supply Chain Security87
- No malware found by supply-chain analysis.Pass
- Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree.Partial
- No install/post-install scripts declared.Pass
- Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency19
- Repository check failed: the declared repository URL returned HTTP 404. See how to fix → View diagnostics → Fail
- Provenance check failed: no build-provenance attestation is published. See how to fix → View diagnostics → Fail
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 33 days ago).Pass
- Security-disclosure policy not yet verified: we couldn't inspect the source repository.Unverified
Schema Quality & AI Usability75
- AI-judged instruction clarity (excellent).Pass
- Context-footprint check failed: tool/resource definitions use about 4610 tokens (~112/item across 41 items; 41 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management27
- Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage98
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 93% of tool parameters carry a description.Partial
- Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.
npm · @opentrain-ai/mcp
claude mcp add opentrain-ai-opentrain -- npx -y @opentrain-ai/mcp
codex mcp add opentrain-ai-opentrain -- npx -y @opentrain-ai/mcp
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"opentrain-ai-opentrain": {
"type": "local",
"command": [
"npx",
"-y",
"@opentrain-ai/mcp"
],
"enabled": true
}
}
} openclaw mcp add opentrain-ai-opentrain --command npx --arg -y --arg @opentrain-ai/mcp
mcp_servers:
opentrain-ai-opentrain:
command: "npx"
args: ["-y", "@opentrain-ai/mcp"] {
"mcpServers": {
"opentrain-ai-opentrain": {
"command": "npx",
"args": [
"-y",
"@opentrain-ai/mcp"
]
}
}
} Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 3 Aug 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 23 to 27. That category is still filling its 30-day observation window: 7 days of observed history at the previous scan, 8 at this one. The score rises as the window fills, whether or not the server changes.
- 2 Aug 26 +40
- Known CVEs: unverified → partial ▲ security
- Malware scan: unverified → pass ▲ security
- Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window). security
- Stability: unverified → 0.23 ▲ functional
- Dependency health: unverified → partial ▲ functional
- Schema quality: unverified → excellent ▲ functional
- MCP protocol: unverified → pass ▲ functional
- 1 Aug 26 +8
- Provenance: unverified → fail ▼ security
- Install scripts: unverified → pass ▲ security
- Maintenance: unverified → pass ▲ functional
- License: unverified → pass ▲ functional
- Licence: MIT functional
- 31 Jul 26 −24
- We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
- 28 Jul 26 +21
- Tool coverage: unverified → 100 ▲ functional
- First check of Tool coverage: 100 functional
- First check of Schema quality: unverified functional
- First check of Tool coverage: 93 functional
- First check of Schema quality: fail functional
- First check of Schema quality: fail functional
- 27 Jul 26 18
First indexed and scored.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 3 Aug 2026 · Analysed npm/@opentrain-ai/[email protected]
Provenance none
Ecosystem: npm · Outcome: none
Dependencies 95 packages
95 packages in the resolved dependency tree · 95 deprecated · 29 stale.
The dependency tree was only partially resolved, so these counts may be incomplete.
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.
opentrain_auth_status ~29
Confirm that the configured OpenTrain personal API token can authenticate to the OpenTrain public API.
Input schema present but exposes no named parameters.
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| authenticated | boolean | yes | — |
| ownerOrganizationId | string|null | yes | — |
| scopes | array | yes | — |
| tokenId | string | yes | — |
| tokenLabel | string|null | yes | — |
| userId | string | yes | — |
No examples provided.
opentrain_capabilities ~64
Discover which OpenTrain public API features are enabled for this token (job drafting, publishing, hiring, messaging writes, team) plus accepted job-draft fields and enums. Call this when a write tool returns a feature-disabled error or before planning a multi-step flow.
Input schema present but exposes no named parameters.
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_claim_account ~131
Send the human owner a claim invite for the agent-registered OpenTrain account. Ask the human for their email first. OpenTrain emails them a verification link and code; once they accept, they own the account and can add billing. Follow up with opentrain_claim_status to check whether the claim completed.
| Name | Type | Req | Description |
|---|---|---|---|
| claimToken | string | — | Claim token from opentrain_register_agent. Defaults to the token saved in the shared OpenTrain config. |
| string | yes | The human owner's email address. OpenTrain emails them a claim invite so they can take over the account and add billing. |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| emailSent | boolean | yes | — |
| expiresIn | number | yes | — |
| interval | number | yes | — |
| userCode | string | yes | — |
| verificationUri | string | yes | — |
No examples provided.
opentrain_claim_status ~94
Check whether the human has completed the OpenTrain account claim started by opentrain_claim_account. When the claim is complete, the stored API token is upgraded to the claimed account automatically. Respect the poll interval from opentrain_claim_account; a slow_down status means you are polling too fast.
| Name | Type | Req | Description |
|---|---|---|---|
| claimToken | string | — | Claim token to check. Defaults to the token saved in the shared OpenTrain config. |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| scopes | array | — | — |
| status | string | yes | — |
No examples provided.
opentrain_close_job ~82
Close (archive) a published OpenTrain job so it stops accepting proposals and leaves public listings. Existing contracts on the job are unaffected. Idempotent — closing an already-archived job reports alreadyClosed. Requires jobs:write scope and the job-publishing feature.
| Name | Type | Req | Description |
|---|---|---|---|
| jobId | string | yes | Published OpenTrain job id to close (archive). |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_create_credit_top_up ~132
Start a credit top-up on the OpenTrain account. No money moves from this call: it returns a Stripe Checkout checkoutUrl that a signed-in human must open and pay (the link expires in ~24h). Once paid, the balance updates automatically — confirm with opentrain_get_credit_top_up or opentrain_get_credits. Amount must be between $10 and $10,000. Requires payments:write scope, a claimed account, and the credits feature.
| Name | Type | Req | Description |
|---|---|---|---|
| amountUsd | number | yes | Top-up amount in US dollars (min $10, max $10,000). |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_create_job_draft ~257
Create an unpublished OpenTrain job draft from a full job description/project brief or supported import payload. This is the primary MCP job-drafting workflow: OpenTrain parses the description into its structured job fields server-side. The response includes validation state; each missing field carries an "ask:" question to relay to the human, its type, allowed enum values, and the field name(s) to set via opentrain_update_job_draft_fields. Publish with opentrain_publish_job when the draft is publish ready.
| Name | Type | Req | Description |
|---|---|---|---|
| canonicalJob | object | — | Optional simple OpenTrain canonical job object. Uses format=opentrain_canonical. |
| externalId | string | — | Optional source-system id for audit/idempotency. |
| idempotencyKey | string | — | Optional idempotency key. Reuse this key to avoid duplicate drafts on retry. |
| importPayload | object | — | Optional supported import payload to send directly to the import-first API, such as schema.org JSON-LD or feed-derived JSON. |
| jobDescription | string | — | Full plain-text job description or project brief. This is the primary V1 workflow. |
| title | string | — | Optional title to prepend to the job description for plain-text imports. |
| Name | Type | Req | Description |
|---|---|---|---|
| action | string | yes | — |
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_create_milestone ~161
Create a new unfunded milestone on an existing OpenTrain contract. No money moves at creation — use opentrain_request_milestone_funding afterwards to start the human-confirmed funding step. Requires payments:write scope and a claimed account.
| Name | Type | Req | Description |
|---|---|---|---|
| amountUsd | number | — | Optional milestone amount in USD. No money moves at creation. |
| contractId | string | yes | Contract id to add the milestone to. |
| description | string | yes | Description of the work to be delivered in this milestone. |
| dueDate | string | — | Optional due date (ISO 8601). |
| name | string | — | Optional short milestone name. |
| volume | number | — | Optional unit volume (e.g. label count) for per-unit milestones. |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_create_webhook ~157
Subscribe a URL to OpenTrain platform events (push instead of polling opentrain_poll_updates). Deliveries are signed with HMAC-SHA256 via the X-OpenTrain-Signature header. IMPORTANT: the signing secret is returned ONCE in this response — store it immediately; it cannot be retrieved later. Requires webhooks:manage scope, the webhooks feature, and the read scope for each subscribed event type. The subscription only receives events created after it.
| Name | Type | Req | Description |
|---|---|---|---|
| eventTypes | array | yes | Event types to subscribe to (e.g. ["proposal.received","message.received"]). Each requires the matching read scope on the token. |
| url | string | yes | HTTPS endpoint URL that will receive signed event deliveries. |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_delete_webhook ~73
Delete a webhook subscription and stop its deliveries. This is also how a DISABLED subscription is resumed: delete it and create a new one (which mints a new secret). Requires webhooks:manage scope and the webhooks feature.
| Name | Type | Req | Description |
|---|---|---|---|
| webhookId | string | yes | Webhook subscription id to delete. |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_end_contract ~112
End an OpenTrain contract. If the contract has no funded milestones it ends immediately. If funded escrow is at stake, the call instead returns a pending approval with an approvalUrl a signed-in human must confirm (no funds move until then) — watch opentrain_poll_updates for approval.confirmed or re-check with opentrain_get_approval. Requires payments:write scope, a claimed account, and the payments-write feature flag.
| Name | Type | Req | Description |
|---|---|---|---|
| contractId | string | yes | OpenTrain contract id to end. |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_get_approval ~75
Check the status of a pending human co-sign approval (milestone funding, milestone release, or contract end): pending, confirmed, declined, or expired, plus the execution result once confirmed. Requires payments:read scope.
| Name | Type | Req | Description |
|---|---|---|---|
| approvalId | string | yes | Approval id returned by a fund/approve/end-contract request. |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_get_contract ~63
Read one OpenTrain contract in detail: status, milestones with funding/approval state, freelancer identity, and the post-hire job DM conversationId for messaging. Requires payments:read scope.
| Name | Type | Req | Description |
|---|---|---|---|
| contractId | string | yes | OpenTrain contract id to read. |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_get_credit_top_up ~69
Check the status of a credit top-up: pending (awaiting human payment), completed (credits added), canceled, or expired. Requires payments:read scope and the credits feature.
| Name | Type | Req | Description |
|---|---|---|---|
| topUpId | string | yes | Credit top-up id returned when the top-up was created. |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_get_credits ~85
Read the OpenTrain credit balance for the account: available cents, reserved (escrow-held) cents, currency, and the 10 most recent ledger entries. Credits fund hires and milestone escrow without a card-present step; when the balance covers a money move, the existing human co-sign approval flow executes against credits. Requires payments:read scope and the credits feature.
Input schema present but exposes no named parameters.
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_get_freelancer_profile ~109
Read a masked OpenTrain freelancer profile by user id or public profile slug for candidate evaluation: title, bio, skills, stats (earned, billed hours, job success), work/label experience, education, reviews, and languages. Requires proposals:read scope. Names are masked to first name + last initial and personal contact details (including personal email) are never returned.
| Name | Type | Req | Description |
|---|---|---|---|
| idOrSlug | string | yes | OpenTrain freelancer user id or public profile slug to read. |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_get_proposal ~126
Read a full OpenTrain proposal/candidate evaluation by proposal id: status, bid, masked candidate, AI-interview score + summary, location/identity verification, Open Label assessment, and contract state. Pass includeInterview: true to also fetch the sanitized AI-interview transcript. Requires proposals:read scope and preserves OpenTrain proposal privacy restrictions.
| Name | Type | Req | Description |
|---|---|---|---|
| includeInterview | boolean | — | Set true to also fetch the sanitized AI-interview transcript (interviewer/candidate messages) for deeper candidate evaluation. |
| proposalId | string | yes | OpenTrain proposal/job offer id to read. |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| interview | — | — | — |
| result | object | yes | — |
No examples provided.
opentrain_get_team ~49
Read the token owner's OpenTrain employer team: organization, members, and pending invites. Team members share jobs and the team inbox. Requires team:read scope and the public_api_team feature.
Input schema present but exposes no named parameters.
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_get_webhook ~76
Read one webhook subscription: URL, event types, status (ACTIVE or DISABLED), and failure/disable details. The signing secret is never returned — if lost, delete and re-create the subscription. Requires webhooks:manage scope and the webhooks feature.
| Name | Type | Req | Description |
|---|---|---|---|
| webhookId | string | yes | Webhook subscription id. |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_hire_proposal ~269
Request hiring a freelancer from an OpenTrain proposal. This does NOT hire or move money: it records a pending approval and returns an approvalUrl a signed-in human must open and confirm in the OpenTrain app (expires in ~72h). The human confirms in the normal hiring interface and may adjust the milestone terms there. Watch opentrain_poll_updates for approval.confirmed or re-check with opentrain_get_approval — the confirmed result includes the new contractId. Requires proposals:write scope and the public_api_hiring feature. Agent accounts must be claimed by a human (403 with claimUrl), and the account needs a payment method or covering credit balance (409 with reason payment_method_required and a billingUrl a human must visit). A 409 with reason not_fit_confirmation_required means retry with confirmNotFitOverride=true if intentional. Re-requesting with identical terms returns the existing pending approval; changed terms supersede it.
| Name | Type | Req | Description |
|---|---|---|---|
| confirmNotFitOverride | boolean | — | Set true to confirm hiring a proposal previously marked "Not a fit" after a 409 not_fit_confirmation_required response. |
| milestone | object | yes | First escrow milestone for the new contract. Provide name and/or description. |
| proposalId | string | yes | OpenTrain proposal/job offer id to hire from. |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_invite_freelancer ~117
Invite a freelancer to a published OpenTrain job, creating a proposal they can respond to. Requires proposals:write scope and the public_api_hiring feature. Agent accounts must be claimed by a human first (403 with a claimUrl otherwise). Idempotent: re-inviting the same freelancer returns the existing proposal with alreadyInvited=true.
| Name | Type | Req | Description |
|---|---|---|---|
| freelancerId | string | yes | OpenTrain freelancer user id to invite. |
| jobId | string | yes | Published OpenTrain job id to invite the freelancer to. |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_invite_team_member ~121
Invite a human to the OpenTrain employer team by email, giving them shared access to jobs and the team inbox once they accept. Sends the same invitation email as the in-app flow. Requires team:write scope and the public_api_team feature. Agent accounts must be claimed by a human first (403 with a claimUrl otherwise). Idempotent-ish: inviting an existing member returns already_member; users with existing accounts are added directly (member_added).
| Name | Type | Req | Description |
|---|---|---|---|
| string | yes | Email address of the human to invite to the employer team. |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_list_contracts ~107
List contracts (hired freelancers) on the OpenTrain account, optionally filtered by jobId and/or status (active|ended). Each contract includes milestones, the post-hire job DM conversationId, and the freelancer identity (unmasked post-hire). Requires payments:read scope.
| Name | Type | Req | Description |
|---|---|---|---|
| jobId | string | — | Optional OpenTrain job id to list contracts for. |
| status | string | — | Optional contract status filter: active or ended. Omit to list both. |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_list_credit_ledger ~110
Page through the OpenTrain credit ledger: top-ups, escrow holds, hold releases, captures, refunds, and adjustments, newest first. Each entry links the related top-up, proposal, contract, or milestone ids. Pass the returned nextCursor to fetch older entries. Requires payments:read scope and the credits feature.
| Name | Type | Req | Description |
|---|---|---|---|
| cursor | string | — | Opaque pagination cursor from a previous nextCursor value. |
| limit | integer | — | Page size 1-100 (default 50). |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_list_jobs ~125
List the token owner's OpenTrain jobs with status, publish state, proposal counts, and live URLs. Requires jobs:read scope. Use this to find job ids for opentrain_list_proposals or opentrain_publish_job.
| Name | Type | Req | Description |
|---|---|---|---|
| cursor | string | — | Optional pagination cursor. |
| limit | integer | — | Maximum jobs to return. Defaults to 25. |
| status | string | — | Optional job status filter: DRAFT, OPEN, ONGOING, COMPLETED, ARCHIVED, or PENDING_APPROVAL. Omit to list all non-deleted jobs. |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_list_pending_payments ~48
Read pending OpenTrain payment and milestone state visible to the token owner. Requires payments:read scope and never releases funds, refunds charges, creates payouts, or changes payment settings.
Input schema present but exposes no named parameters.
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_list_proposals ~147
List proposals/candidates for an OpenTrain job with statuses, bids, AI interview scores, and resume match scores — the primary tool for reviewing and ranking who to hire. Requires proposals:read scope. Use opentrain_get_proposal for one candidate in depth, then opentrain_hire_proposal to hire.
| Name | Type | Req | Description |
|---|---|---|---|
| cursor | string | — | Optional pagination cursor. |
| jobId | string | yes | OpenTrain job id to list proposals for. |
| limit | integer | — | Maximum proposals to return. Defaults to 25. |
| status | string | — | Optional proposal status filter such as UNREVIEWED, SHORTLISTED, HIRED, or DECLINED. |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_list_tokens ~47
List the API tokens on the OpenTrain account (labels, scopes, expiry — never secrets). Requires tokens:read scope. Use opentrain_revoke_token to revoke one.
Input schema present but exposes no named parameters.
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_list_webhooks ~55
List webhook subscriptions on the OpenTrain account, including status (ACTIVE or DISABLED after sustained delivery failure) and subscribed event types. Secrets are never included. Requires webhooks:manage scope and the webhooks feature.
Input schema present but exposes no named parameters.
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_poll_updates ~139
Poll the OpenTrain delta feed of account events (new proposals, proposal status changes, new messages, contracts, milestone changes, pending payments) in one cheap call instead of re-reading every resource. Pass the nextCursor from the previous poll to receive only newer events; payloads carry IDs only — fetch details with the matching read tool. Event visibility follows the token scopes (proposals:read, messages:read, payments:read).
| Name | Type | Req | Description |
|---|---|---|---|
| cursor | string | — | Last event id already processed (nextCursor from the previous poll). Omit on the first poll. |
| limit | integer | — | Max events to return (default 50). |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_publish_job ~96
Publish an OpenTrain draft job live on the marketplace. Runs the same validation + moderation pipeline as the in-app publish flow and is subject to per-account daily publish limits. Requires jobs:write scope and the public_api_job_publishing feature (check the job-drafts capabilities endpoint or a 403 response). Returns the live job URL.
| Name | Type | Req | Description |
|---|---|---|---|
| jobId | string | yes | Existing unpublished OpenTrain draft job id to publish live. |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_read_messages ~149
Read authorized OpenTrain conversation summaries or messages. Omit conversationId to list summaries; provide conversationId to read messages. Requires messages:read scope and never creates conversations or sends messages.
| Name | Type | Req | Description |
|---|---|---|---|
| conversationId | string | — | Optional conversation id. Omit it to list authorized conversation summaries instead of messages. |
| cursor | string | — | Optional pagination cursor. |
| direction | string | — | Message pagination direction when conversationId is provided. |
| filter | string | — | Conversation summary filter when conversationId is omitted. |
| limit | integer | — | Maximum records to return. Defaults to the OpenTrain API route default. |
| unreadOnly | boolean | — | When listing conversations, return only conversations with unread messages. |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_register_agent ~149
Register a brand-new anonymous OpenTrain agent account. No prior credentials are needed. The new API token is stored in the shared OpenTrain config file (also used by the OpenTrain CLI), so every other opentrain tool works immediately afterwards. Next step: ask the human for their email and call opentrain_claim_account so they can claim the account and add billing.
| Name | Type | Req | Description |
|---|---|---|---|
| agentName | string | — | Optional display name for the agent identity (e.g. "Claude Code"). |
| force | boolean | — | Set true to overwrite existing saved OpenTrain credentials with a brand-new agent account. |
| organizationName | string | — | Optional name for the employer organization created with the agent account. |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| claimTokenExpiresAt | string | yes | — |
| credentialsPath | string | yes | — |
| nextSteps | array | yes | — |
| registrationId | string | yes | — |
| scopes | array | yes | — |
No examples provided.
opentrain_request_milestone_approval ~115
Request approval (payment release) of a funded milestone. This does NOT release money: it returns a pending approval with an approvalUrl that a signed-in human must open and confirm in the OpenTrain app (expires in ~72h). Watch opentrain_poll_updates for an approval.confirmed event, or re-check with opentrain_get_approval. Requires payments:write scope, a claimed account, and the payments-write feature flag.
| Name | Type | Req | Description |
|---|---|---|---|
| milestoneId | string | yes | OpenTrain milestone id. |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_request_milestone_funding ~111
Request escrow funding for a milestone. This does NOT move money: it returns a pending approval with an approvalUrl that a signed-in human must open and confirm in the OpenTrain app (expires in ~72h). Watch opentrain_poll_updates for an approval.confirmed event, or re-check with opentrain_get_approval. Requires payments:write scope, a claimed account, and the payments-write feature flag.
| Name | Type | Req | Description |
|---|---|---|---|
| milestoneId | string | yes | OpenTrain milestone id. |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_revoke_token ~65
Revoke an OpenTrain API token by id (irreversible — the token stops working immediately). Requires tokens:write scope. Revoking the token this server is using will break subsequent calls.
| Name | Type | Req | Description |
|---|---|---|---|
| tokenId | string | yes | Id of the API token to revoke. |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_search_jobs ~115
Search the public OpenTrain job marketplace (all live jobs, not just the token owner's). Filter by free text, category, language, country, or pay type. Use opentrain_list_jobs for the token owner's own jobs instead.
| Name | Type | Req | Description |
|---|---|---|---|
| category | string | — | — |
| country | string | — | ISO country code. |
| cursor | string | — | — |
| language | string | — | — |
| limit | integer | — | — |
| payType | string | — | — |
| q | string | — | Free-text search query. |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_send_message ~126
Send a plain-text message into an existing OpenTrain conversation the token owner participates in. Runs the same membership, rate-limit, and content-policy checks as the in-app messaging flow. Requires messages:write scope and the public_api_messaging_writes feature. Agent accounts must be claimed by a human first (403 with a claimUrl otherwise). This tool never creates conversations; conversations come from proposals, invites, and hires.
| Name | Type | Req | Description |
|---|---|---|---|
| content | string | yes | Plain-text message content to send. |
| conversationId | string | yes | Existing OpenTrain conversation id the token owner participates in. |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_start_proposal_conversation ~106
Start (or fetch) the pre-hire direct-message thread for a proposal so you can message the candidate before hiring. Idempotent get-or-create — safe to call repeatedly; returns the conversationId to use with opentrain_send_message. Employer side only. Requires messages:write scope, the public_api_messaging_writes feature, and a claimed account.
| Name | Type | Req | Description |
|---|---|---|---|
| proposalId | string | yes | Proposal id to open the pre-hire conversation thread for. |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_update_job_draft_fields ~194
Fill in or correct fields on an existing unpublished OpenTrain draft. Use this after opentrain_create_job_draft when the draft is not publish ready: ask the human each missing field's "ask:" question, then patch the answers using the "set:" field names (do not ask the human to author raw JSON). Always start from opentrain_create_job_draft with a description; this tool never publishes directly — use opentrain_publish_job for that.
| Name | Type | Req | Description |
|---|---|---|---|
| jobId | string | yes | Existing unpublished draft job id. |
| patch | object | yes | Draft field patch keyed by OpenTrain field names. Use the "set:" field names from the missing-field details returned by opentrain_create_job_draft (e.g. {"experienceLevel":"INTERMEDIATE","paymentType… |
| Name | Type | Req | Description |
|---|---|---|---|
| action | string | yes | — |
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.
opentrain_update_published_job ~155
Update fields on a live published (OPEN) OpenTrain job. The revised listing is re-checked by moderation inline; if it is blocked, the job is automatically unpublished back to draft and the response explains what to fix. For unpublished drafts use opentrain_update_job_draft_fields instead. Requires jobs:write scope and the job-publishing feature.
| Name | Type | Req | Description |
|---|---|---|---|
| jobId | string | yes | Published (OPEN) OpenTrain job id to update. |
| patch | object | yes | Job field patch keyed by OpenTrain field names, same shape as opentrain_update_job_draft_fields (e.g. {"jobTitle":"...","pricePerHour":14}). The revised listing is re-checked by moderation. |
| Name | Type | Req | Description |
|---|---|---|---|
| apiBaseUrl | string | yes | — |
| result | object | yes | — |
No examples provided.