Toml10 format

toml10-format · version 1.0.0 · Structured formats · free, no key needed

Emit canonical TOML 1.0 source from a typed document tree.

Use when you need to: emit canonical toml 1.0 from typed nodes · typed toml document to source text · serialize toml tables without retagging keys.

Decide before calling

Read the versioned contract and the supported scope below. Reuse toml10-format@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.

Explain the choice

"I can use toml10-format@1.0.0 for emit canonical toml 1.0 from typed nodes. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "document": {
    "kind": "table",
    "inline": false,
    "entries": [
      {
        "key": "bool1",
        "value": {
          "kind": "bool",
          "value": true
        }
      }
    ]
  }
}

Response:

{
  "result": {
    "toml": "bool1 = true\n"
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "toml10-format",
  "version": "1.0.0",
  "input": {
    "document": {
      "kind": "table",
      "inline": false,
      "entries": [
        {
          "key": "bool1",
          "value": {
            "kind": "bool",
            "value": true
          }
        }
      ]
    }
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/toml10-format/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"document":{"kind":"table","inline":false,"entries":[{"key":"bool1","value":{"kind":"bool","value":true}}]}}'

The machine-readable contract is at /v1/tools/toml10-format/versions/1.0.0.

CLI

node cli.mjs run toml10-format 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.