Spiral gives your agent every tool with one account. Browse the tools →

Factory Droid · Developer

How to Use xAI documentation page index in Factory Droid

Returns the xAI documentation page index, organized by section. Use it to map the available guides or find pages across Grok API, Grok Build, and Grok Bot documentation.

Prompts to try with xAI documentation page index in Factory Droid

Copy an example into Factory Droid, or ask in your own words.

Use xAI documentation page index to find the official references relevant to the Grok batch-processing code in this repository. Add a short reading list to docs/grok-review.md.

xAI documentation page indexFactory Droid
Try asking
  • Use xAI documentation page index to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from xAI documentation page index and tell me what changed since last week.

  • Check xAI documentation page index and summarize what you find in three bullet points.

  • Pull the newest data from xAI documentation page index and give me the result as a table.

How to set up xAI documentation page index in Factory Droid

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Droid saves it to your user config, ~/.factory/mcp.json, so it works in every project.

    droid mcp add spiral https://api.spiral.ai/mcp --type http
  2. Sign in

    Start droid, type /mcp, select spiral and authenticate it. Sign in to Spiral in the browser and click Authorize. No API key.

  3. Check it

    Spiral shows as connected. needs authentication means the sign-in did not finish: run /mcp again.

    droid mcp list

Use the Spiral skill

  1. Send Factory Droid this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run xAI documentation page index

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "x-ai/developer-docs/list_pages",
        "input": {
          "q": "<q>"
        }
      }'

Then paste one of the prompts above: Factory Droid finds xAI documentation page index on Spiral, shows the price and runs it.

xAI documentation page index providers and prices

Spiral runs xAI documentation page index through Alexandria. Open a card for today's price, with every fee included.

AlexandriaDeveloper

What can you do with xAI documentation page index in Factory Droid?

Create a Grok integration review tied to the code in your repository. A coding agent can match project assumptions to xAI documentation, release announcements, and published billing categories.

Prepare a Grok integration review

Build a review packet with relevant documentation links, recent API changes, and the published billing categories that apply to the proposed workload.

Plan a model migration

Find retirement announcements and replacement guides, then identify the pricing documentation and implementation topics the migration review needs.

Maintain a team documentation directory

Organize official Grok documentation by topic, locate missing references through search, and use release announcements to identify links that need review.

Write an operations runbook

Collect official references for batch processing, storage, and tool use. Include relevant change announcements and billing categories so operators know which documentation supports each procedure.

Review an existing Grok workload

Compare a workload's documented assumptions with current xAI references, published pricing documentation, and release announcements to produce a concrete review checklist.

Questions about xAI documentation page index in Factory Droid

Can Factory Droid use xAI documentation page index?

Yes. Add Spiral to Factory Droid as an MCP server, and Factory Droid can find and run xAI documentation page index like any built-in tool.

How much does xAI documentation page index cost in Factory Droid?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Factory Droid plan is separate.

Do I need an Alexandria account to use xAI documentation page index in Factory Droid?

No. Spiral runs xAI documentation page index on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up xAI documentation page index in Factory Droid?

About two minutes: add the server, then sign in, then check it.

Does Factory Droid wait while xAI documentation page index runs?

xAI documentation page index runs in the background. Factory Droid starts the run, checks on it and gives you the json when it's ready.

Does xAI documentation cover more than API reference pages?

Yes. The official index includes Grok models, SDKs, guides, pricing, and application documentation as well as REST references.

Can I read the original documentation as Markdown?

Yes. xAI publishes every documentation page as Markdown by appending .md to the page URL.

How far back does the developer change archive go?

The published archive includes November 2024 entries, including the announcement of LangChain support. It provides historical announcements alongside more recent changes.

Does xAI document exact model retirement deadlines?

Yes. Its May 2026 retirement guide specifies May 15, 2026 at 12:00 PM Pacific, so a retirement can have a precise cutoff rather than just a month.

Does a model appearing in the docs mean everyone can use it?

No. xAI says model access can vary with geographical location and account limitations. The public documentation describes the offering without guaranteeing individual availability.

Get started

Start using xAI documentation page index in Factory Droid

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Factory Droid:

Set up Factory Droid

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options