LaminarForge API Agent Tools API

lf-agent-tools — Web content extraction, link verification, schema generation, tool validation, structured parsing, geo utilities, safety checks

GitHub OpenAPI

Operations 22

GET /v1/web-content-extract Extract readable content from URL #
GET /v1/slides-from-markdown Convert markdown to slide deck JSON #
GET /v1/agent-schema-gen Generate tool schema from description #
GET /v1/tool-output-fmt Format tool output as table/CSV/JSON #
GET /v1/tool-call-validate Validate tool call arguments against schema #
GET /v1/html-to-structured Convert HTML tables/lists to structured JSON #
GET /v1/gdpr-consent Check URL for GDPR consent mechanisms #
GET /v1/haversine Distance between coordinates #
GET /v1/zip-by-coords Reverse geocode to ZIP/postal code #
GET /v1/plus-code Convert lat/lng to Plus Code #
GET /v1/hashtag-analytics Analyze hashtag patterns #
GET /v1/structured-parse Parse unstructured text into structured fields #
GET /v1/prompt-injection Detect prompt injection attempts #
GET /v1/content-safety LLM content safety classifier #
GET /v1/pii-redact PII redaction tool #
GET /v1/rag-chunk RAG text chunker advanced #
POST /v1/schema-from-sample JSON Schema generator from sample #
POST /v1/extract-structured Structured data extractor from text #
GET /v1/code-desc Code to natural language description #
POST /v1/register Register an agent, get a free API key #
GET /v1/register Agent onboarding info (no key created) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/laminarforge-dev:laminarforge-dev-agent-tools-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

laminarforge-dev-agent-tools-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Laminarforge Dev Agent Tools API
  version: 1.1.0
  contact:
    url: https://laminarforge.dev/contact
  description: 'Operations tagged Agent Tools across 2 of this provider''s published API definitions: laminarforge-dev-openapi.json, laminarforge-dev-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Agent Tools
  description: lf-agent-tools — Web content extraction, link verification, schema generation, tool validation, structured parsing, geo utilities, safety checks
paths:
  /v1/web-content-extract:
    get:
      tags:
      - Agent Tools
      summary: Extract readable content from URL
      description: Fetches a URL and extracts the page title, meta description, and cleaned body text (with scripts and styles removed). Max 10,000 chars of extracted text returned.
      operationId: extractWebContent
      security:
      - ApiKeyAuth: []
      parameters:
      - name: url
        in: query
        required: true
        schema:
          type: string
          format: uri
        description: URL of the web page to extract content from
      responses:
        '200':
          description: Extracted content
          content:
            application/json:
              schema:
                type: object
                properties:
                  title:
                    type: string
                  metaDescription:
                    type: string
                  contentLength:
                    type: integer
                    description: Raw HTML length in bytes
                  extractedText:
                    type: string
                    description: First 5000 chars of cleaned body text
        '400':
          $ref: '#/components/responses/BadRequest'
  /v1/source-link-verify:
    get:
      tags:
      - Agent Tools
      summary: Verify HTTP links in bulk
      description: Checks the accessibility of up to 20 URLs via HEAD requests. Returns HTTP status codes, content types, and redirect locations for each link. Accepts links as comma-separated string or JSON array.
      operationId: verifySourceLinks
      security:
      - ApiKeyAuth: []
      parameters:
      - name: links
        in: query
        required: true
        schema:
          type: string
        description: Comma-separated URLs or JSON array of URLs to verify (max 20)
      responses:
        '200':
          description: Verification results
          content:
            application/json:
              schema:
                type: object
                properties:
                  total:
                    type: integer
                  accessible:
                    type: integer
                    description: Number of accessible links
                  broken:
                    type: integer
                    description: Number of inaccessible links
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        url:
                          type: string
                        status:
                          type: integer
                        contentType:
                          type: string
                        redirect:
                          type: string
                        accessible:
                          type: boolean
        '400':
          $ref: '#/components/responses/BadRequest'
  /v1/slides-from-markdown:
    get:
      tags:
      - Agent Tools
      summary: Convert markdown to slide deck JSON
      description: Parses markdown content and splits it into slide objects based on headings (#) and horizontal rules (---). Returns an array of slide objects each with title, content, and heading level.
      operationId: convertMarkdownToSlides
      security:
      - ApiKeyAuth: []
      parameters:
      - name: md
        in: query
        required: true
        schema:
          type: string
        description: Markdown text with headings representing slide breaks
      responses:
        '200':
          description: Slide deck JSON
          content:
            application/json:
              schema:
                type: object
                properties:
                  totalSlides:
                    type: integer
                  slides:
                    type: array
                    items:
                      type: object
                      properties:
                        title:
                          type: string
                        content:
                          type: array
                          items:
                            type: string
                        level:
                          type: integer
                          description: Heading level (1-6)
        '400':
          $ref: '#/components/responses/BadRequest'
  /v1/agent-schema-gen:
    get:
      tags:
      - Agent Tools
      summary: Generate tool schema from description
      description: Generates an OpenAI-compatible function/tool call schema from a name, description, and JSON parameter definition. Returns the schema object in openai-tool-call format.
      operationId: generateAgentSchema
      security:
      - ApiKeyAuth: []
      parameters:
      - name: name
        in: query
        required: true
        schema:
          type: string
        description: Tool/function name (non-alphanumeric chars replaced with underscores)
      - name: description
        in: query
        required: true
        schema:
          type: string
        description: Description of what the tool does
      - name: params
        in: query
        schema:
          type: string
          default: '{}'
        description: JSON object defining parameter properties
      responses:
        '200':
          description: Generated schema
          content:
            application/json:
              schema:
                type: object
                properties:
                  schema:
                    type: object
                    description: OpenAI-compatible tool schema
                  format:
                    type: string
                    example: openai-tool-call
        '400':
          $ref: '#/components/responses/BadRequest'
  /v1/tool-output-fmt:
    get:
      tags:
      - Agent Tools
      summary: Format tool output as table/CSV/JSON
      description: Takes a JSON array/object and formats it as a markdown table, CSV, or re-serialized JSON. Useful for transforming tool call outputs for different contexts.
      operationId: formatToolOutput
      security:
      - ApiKeyAuth: []
      parameters:
      - name: data
        in: query
        required: true
        schema:
          type: string
        description: JSON array or object to format
      - name: format
        in: query
        schema:
          type: string
          enum:
          - table
          - csv
          - json
          - markdown
          - raw
          default: table
        description: Output format
      responses:
        '200':
          description: Formatted output
          content:
            application/json:
              schema:
                type: object
                properties:
                  format:
                    type: string
                  output:
                    description: Formatted output. String for table/csv/markdown, object/array for json, raw passthrough for raw.
        '400':
          $ref: '#/components/responses/BadRequest'
  /v1/tool-call-validate:
    get:
      tags:
      - Agent Tools
      summary: Validate tool call arguments against schema
      description: Validates tool call arguments against a provided JSON schema (OpenAI tool-call format or plain JSON Schema). Reports missing required fields, unexpected fields, and argument count.
      operationId: validateToolCall
      security:
      - ApiKeyAuth: []
      parameters:
      - name: schema
        in: query
        required: true
        schema:
          type: string
        description: JSON schema (OpenAI tool-call format or plain JSON Schema)
      - name: arguments
        in: query
        schema:
          type: string
          default: '{}'
        description: JSON object of argument values to validate
      responses:
        '200':
          description: Validation result
          content:
            application/json:
              schema:
                type: object
                properties:
                  valid:
                    type: boolean
                  errors:
                    type: array
                    items:
                      type: string
                    description: Validation error messages
                  argumentCount:
                    type: integer
        '400':
          $ref: '#/components/responses/BadRequest'
  /v1/html-to-structured:
    get:
      tags:
      - Agent Tools
      summary: Convert HTML tables/lists to structured JSON
      description: 'Parses HTML content and extracts

        elements into structured JSON with headers and data rows. Accepts raw HTML string or a URL to fetch and parse.'
      operationId: convertHtmlToStructured
      security:
      - ApiKeyAuth: []
      parameters:
      - name: html
        in: query
        schema:
          type: string
        description: Raw HTML content to parse (provide html or url)
      - name: url
        in: query
        schema:
          type: string
          format: uri
        description: URL to fetch HTML from (provide html or url)
      responses:
        '200':
          description: Structured data
          content:
            application/json:
              schema:
                type: object
                properties:
                  tableCount:
                    type: integer
                  tables:
                    type: array
                    items:
                      type: object
                      properties:
                        headers:
                          type: array
                          items:
                            type: string
                        data:
                          type: array
                          items:
                            type: array
                            items:
                              type: string
                        rowCount:
                          type: integer
        '400':
          $ref: '#/components/responses/BadRequest'
  /v1/gdpr-consent:
    get:
      tags:
      - Agent Tools
      summary: Check URL for GDPR consent mechanisms
      description: 'Scans a URL''s HTML for GDPR consent indicators: cookie banners, consent management JavaScript libraries, and privacy policy links. Returns a compliance score and assessment.'
      operationId: checkGdprConsent
      security:
      - ApiKeyAuth: []
      parameters:
      - name: url
        in: query
        required: true
        schema:
          type: string
          format: uri
        description: URL to check for GDPR consent mechanisms
      responses:
        '200':
          description: GDPR consent analysis
          content:
            application/json:
              schema:
                type: object
                properties:
                  url:
                    type: string
                  score:
                    type: string
                    description: Compliance score (e.g. '2/3')
                  indicators:
                    type: object
                    properties:
                      cookieBanner:
                        type: boolean
                      consentJS:
                        type: boolean
                      privacyLink:
                        type: boolean
                  assessment:
                    type: string
        '400':
          $ref: '#/components/responses/BadRequest'
  /v1/haversine:
    get:
      tags:
      - Agent Tools
      summary: Distance between coordinates
      description: Calculates the great-circle distance between two latitude/longitude coordinate pairs using the Haversine formula. Returns distance in kilometers and miles.
      operationId: calculateHaversineDistance
      security:
      - ApiKeyAuth: []
      parameters:
      - name: lat1
        in: query
        required: true
        schema:
          type: number
        description: Latitude of first point
      - name: lon1
        in: query
        required: true
        schema:
          type: number
        description: Longitude of first point
      - name: lat2
        in: query
        required: true
        schema:
          type: number
        description: Latitude of second point
      - name: lon2
        in: query
        required: true
        schema:
          type: number
        description: Longitude of second point
      responses:
        '200':
          description: Distance calculation
          content:
            application/json:
              schema:
                type: object
                properties:
                  distanceKm:
                    type: number
                  distanceMi:
                    type: number
                  from:
                    type: string
                    description: Origin coordinates as 'lat,lon'
                  to:
                    type: string
                    description: Destination coordinates as 'lat,lon'
        '400':
          $ref: '#/components/responses/BadRequest'
  /v1/zip-by-coords:
    get:
      tags:
      - Agent Tools
      summary: Reverse geocode to ZIP/postal code
      description: Looks up the postal code (ZIP code), city, state, and country for a given latitude/longitude using OpenStreetMap Nominatim reverse geocoding.
      operationId: lookupZipByCoords
      security:
      - ApiKeyAuth: []
      parameters:
      - name: lat
        in: query
        required: true
        schema:
          type: number
        description: Latitude
      - name: lon
        in: query
        required: true
        schema:
          type: number
        description: Longitude
      responses:
        '200':
          description: Reverse geocode result
          content:
            application/json:
              schema:
                type: object
                properties:
                  zip:
                    type: string
                  city:
                    type: string
                  state:
                    type: string
                  country:
                    type: string
                  displayName:
                    type: string
        '400':
          $ref: '#/components/responses/BadRequest'
  /v1/plus-code:
    get:
      tags:
      - Agent Tools
      summary: Convert lat/lng to Plus Code
      description: Converts between latitude/longitude coordinates and Open Location Code (Plus Code). Provide 'code' to decode to coordinates, or 'lat'+'lon' to encode to a Plus Code.
      operationId: convertPlusCode
      security:
      - ApiKeyAuth: []
      parameters:
      - name: code
        in: query
        schema:
          type: string
        description: Plus Code to decode to lat/lng (provide code OR lat+lon)
      - name: lat
        in: query
        schema:
          type: number
        description: Latitude to encode to Plus Code (provide lat+lon OR code)
      - name: lon
        in: query
        schema:
          type: number
        description: Longitude to encode to Plus Code (provide lat+lon OR code)
      responses:
        '200':
          description: Plus Code conversion
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  plusCode:
                    type: string
                  lat:
                    type: number
                  lng:
                    type: number
                  type:
                    type: string
                    enum:
                    - encode
                    - decode
        '400':
          $ref: '#/components/responses/BadRequest'
  /v1/hashtag-analytics:
    get:
      tags:
      - Agent Tools
      summary: Analyze hashtag patterns
      description: Extracts and analyzes hashtags from text. Returns total count, unique count, and a sorted list of all hashtags with frequency counts.
      operationId: analyzeHashtags
      security:
      - ApiKeyAuth: []
      parameters:
      - name: text
        in: query
        required: true
        schema:
          type: string
        description: 'Text containing #hashtags to analyze'
      responses:
        '200':
          description: Hashtag analysis
          content:
            application/json:
              schema:
                type: object
                properties:
                  total:
                    type: integer
                    description: Total number of hashtags found
                  unique:
                    type: integer
                    description: Number of unique hashtags
                  topHashtags:
                    type: array
                    items:
                      type: object
                      properties:
                        hashtag:
                          type: string
                        count:
                          type: integer
                  allHashtags:
                    type: array
                    items:
                      type: object
                      properties:
                        hashtag:
                          type: string
                        count:
                          type: integer
        '400':
          $ref: '#/components/responses/BadRequest'
  /v1/structured-parse:
    get:
      tags:
      - Agent Tools
      summary: Parse unstructured text into structured fields
      description: 'Extracts structured fields from unstructured text: detects email addresses, phone numbers, URLs, numbers, and counts words. Deduplicates extracted values.'
      operationId: parseStructuredFields
      security:
      - ApiKeyAuth: []
      parameters:
      - name: text
        in: query
        required: true
        schema:
          type: string
        description: Unstructured text to parse for structured fields
      responses:
        '200':
          description: Parsed fields
          content:
            application/json:
              schema:
                type: object
                properties:
                  wordCount:
                    type: integer
                  emails:
                    type: array
                    items:
                      type: string
                  phones:
                    type: array
                    items:
                      type: string
                  urls:
                    type: array
                    items:
                      type: string
                  numbers:
                    type: array
                    items:
                      type: string
        '400':
          $ref: '#/components/responses/BadRequest'
  /v1/prompt-injection:
    get:
      tags:
      - Agent Tools
      summary: Detect prompt injection attempts
      description: 'Scans text for common prompt injection patterns: instruction override attempts, jailbreak keywords, role-play escapes, system prompt manipulation, delimiter bypasses, and exfiltration attempts.'
      operationId: detectPromptInjection
      security:
      - ApiKeyAuth: []
      parameters:
      - name: text
        in: query
        required: true
        schema:
          type: string
        description: Text to scan for prompt injection patterns
      responses:
        '200':
          description: Injection detection results
          content:
            application/json:
              schema:
                type: object
                properties:
                  injectionDetected:
                    type: boolean
                  risk:
                    type: string
                    enum:
                    - none
                    - low
                    - medium
                  findings:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        label:
                          type: string
                        match:
                          type: string
                          description: First 80 chars of the matching text
                  totalChecks:
                    type: integer
        '400':
          $ref: '#/components/responses/BadRequest'
  /v1/content-safety:
    get:
      tags:
      - Agent Tools
      summary: LLM content safety classifier
      operationId: v1_content_safety
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      security:
      - ApiKeyAuth: []
  /v1/pii-redact:
    get:
      tags:
      - Agent Tools
      summary: PII redaction tool
      operationId: v1_pii_redact
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      security:
      - ApiKeyAuth: []
  /v1/rag-chunk:
    get:
      tags:
      - Agent Tools
      summary: RAG text chunker advanced
      operationId: v1_rag_chunk
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      security:
      - ApiKeyAuth: []
  /v1/schema-from-sample:
    post:
      tags:
      - Agent Tools
      summary: JSON Schema generator from sample
      operationId: v1_schema_from_sample
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      security:
      - ApiKeyAuth: []
  /v1/extract-structured:
    post:
      tags:
      - Agent Tools
      summary: Structured data extractor from text
      operationId: v1_extract_structured
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      security:
      - ApiKeyAuth: []
  /v1/code-desc:
    get:
      tags:
      - Agent Tools
      summary: Code to natural language description
      operationId: v1_code_desc
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      security:
      - ApiKeyAuth: []
  /v1/register:
    post:
      tags:
      - Agent Tools
      summary: Register an agent, get a free API key
      operationId: v1_register
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
    get:
      tags:
      - Agent Tools
      summary: Agent onboarding info (no key created)
      operationId: getV1Register
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      x-operation-id-source: normalized
      x-operation-id-original: v1_register
components:
  responses:
    BadRequest:
      description: Bad request — missing or invalid parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  schemas:
    ErrorResponse:
      type: object
      required:
      - error
      - message
      properties:
        error:
          type: boolean
          example: true
        message:
          type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'API key authentication. Provide via X-API-Key header or Authorization: Bearer <key> header.'
    X402Payment:
      type: apiKey
      in: header
      name: X-PAYMENT
      description: x402 pay-per-call payment. Send base64url(JSON) of the x402 payment payload in X-PAYMENT (or PAYMENT-SIGNATURE). No account or API key needed. Call the endpoint once without credentials and the 402 response tells you the exact price, network, asset and payTo address to pay.
x-refined-from:
- laminarforge-dev-openapi.json
- laminarforge-dev-openapi.json