Linguatools · Capability
Linguatools Collocations API — Collocations
Linguatools Collocations API — Collocations. 1 operations. Lead operation: Get collocations for a word. Self-contained Naftiko capability covering one Linguatools business surface.
What You Can Do
GET
Getcollocations
— Get collocations for a word
/v1
MCP Tools
get-collocations-word
Get collocations for a word
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Linguatools Collocations API — Collocations
description: 'Linguatools Collocations API — Collocations. 1 operations. Lead operation: Get collocations for a word. Self-contained
Naftiko capability covering one Linguatools business surface.'
tags:
- Linguatools
- Collocations
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
LINGUATOOLS_API_KEY: LINGUATOOLS_API_KEY
capability:
consumes:
- type: http
namespace: collocations-collocations
baseUri: https://linguatools-collocations.p.rapidapi.com
description: Linguatools Collocations API — Collocations business capability. Self-contained, no shared references.
resources:
- name: root
path: /
operations:
- name: getcollocations
method: GET
description: Get collocations for a word
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: query
in: query
type: string
description: The query word (case-insensitive).
required: true
- name: lang
in: query
type: string
description: ISO 639-1 language code. Currently only `en` is supported.
required: true
- name: relation
in: query
type: string
description: 'Syntactic relation type (case-sensitive). Examples include `V:obj:N` (verb-object), `N:mod:Adj` (noun-adjective
modifier), `Adj:mod:N`, `V:subj:N`, `N:prep:N`, '
- name: min_sig
in: query
type: integer
description: Minimum significance threshold. Values must be 100 or greater.
- name: pos
in: query
type: string
description: Part of speech filter (v2 only). One of `V` (verb), `Vinf` (infinitive verb), `N` (noun), `Adj` (adjective),
`Adv` (adverb).
- name: X-RapidAPI-Key
in: header
type: string
description: Your RapidAPI subscription key.
required: true
- name: X-RapidAPI-Host
in: header
type: string
description: Must be set to `linguatools-collocations.p.rapidapi.com`.
required: true
authentication:
type: apikey
key: X-RapidAPI-Key
value: '{{env.LINGUATOOLS_API_KEY}}'
placement: header
exposes:
- type: rest
namespace: collocations-collocations-rest
port: 8080
description: REST adapter for Linguatools Collocations API — Collocations. One Spectral-compliant resource per consumed
operation, prefixed with /v1.
resources:
- path: /v1
name: root
description: REST surface for root.
operations:
- method: GET
name: getcollocations
description: Get collocations for a word
call: collocations-collocations.getcollocations
with:
query: rest.query
lang: rest.lang
relation: rest.relation
min_sig: rest.min_sig
pos: rest.pos
X-RapidAPI-Key: rest.X-RapidAPI-Key
X-RapidAPI-Host: rest.X-RapidAPI-Host
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: collocations-collocations-mcp
port: 9090
transport: http
description: MCP adapter for Linguatools Collocations API — Collocations. One tool per consumed operation, routed inline
through this capability's consumes block.
tools:
- name: get-collocations-word
description: Get collocations for a word
hints:
readOnly: true
destructive: false
idempotent: true
call: collocations-collocations.getcollocations
with:
query: tools.query
lang: tools.lang
relation: tools.relation
min_sig: tools.min_sig
pos: tools.pos
X-RapidAPI-Key: tools.X-RapidAPI-Key
X-RapidAPI-Host: tools.X-RapidAPI-Host
outputParameters:
- type: object
mapping: $.