# W3C CSS validator

Validate the CSS of a public web page or stylesheet URL with the W3C CSS Validation Service: validity, error and warning counts, then each error and warning. Needs url. Served by W3C Validators.

Validate the CSS of a public web page or stylesheet URL with the W3C CSS Validation Service: validity, error and warning counts, then each error and warning with source file, line, CSS context and message. warning '0' keeps only important warnings, 'no' none.

- Tool ID: `w3c/css-validator`
- Provider: [W3C Validators](/providers/w3c.md)
- Capability: [Website technologies](/tools/developer-data/web-technologies.md)
- Price: no charge per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

No charge per call. A workspace is still needed so your agent can call it.


```json
{
  "model": "per_call",
  "amountUsd": 0
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "pattern": "^https?://[^\\s]{4,2000}$",
      "description": "Page or stylesheet URL, e.g. 'https://www.w3.org/'"
    },
    "profile": {
      "type": "string",
      "enum": [
        "css3svg",
        "css3",
        "css21",
        "css2",
        "css1"
      ],
      "default": "css3svg",
      "description": "CSS profile to check against, e.g. 'css3'"
    },
    "warning": {
      "type": "string",
      "enum": [
        "no",
        "0",
        "1",
        "2"
      ],
      "default": "0",
      "description": "Warning level: 'no', '0' important only, '1' normal, '2' all, e.g. '1'"
    }
  },
  "required": [
    "url"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "w3c/css-validator",
  "input": {
    "url": "https://www.w3.org/"
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

Licence: W3C free validation service (use reasonably).

[Provider documentation](https://jigsaw.w3.org/css-validator/manual.html)

[REST inspection](https://api.agentik.cc/v1/tools/w3c/css-validator) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/w3c/css-validator) · [Agent index](/llms.txt)
