# PubChem compound safety and hazards

Safety annotations for a compound by CID: GHS classification (pictograms, signal word, hazard and precautionary statements) or other safety headings, each. Needs cid.

Safety annotations for a compound by CID: GHS classification (pictograms, signal word, hazard and precautionary statements) or other safety headings, each with its source (ECHA, OSHA, NIOSH...) and licence note. Get the CID with pubchem/compound-properties.

- Tool ID: `pubchem/compound-safety`
- Provider: [PubChem](/providers/pubchem.md)
- Capability: [Knowledge & research](/tools/knowledge.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": {
    "cid": {
      "type": "integer",
      "minimum": 1,
      "maximum": 999999999,
      "description": "PubChem compound id, e.g. 2519 (caffeine)"
    },
    "heading": {
      "type": "string",
      "enum": [
        "GHS Classification",
        "Hazards Identification",
        "Toxicity Summary",
        "First Aid Measures",
        "Exposure Control and Personal Protection"
      ],
      "default": "GHS Classification",
      "description": "Safety section to return, e.g. 'GHS Classification'"
    }
  },
  "required": [
    "cid"
  ],
  "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": "pubchem/compound-safety",
  "input": {
    "cid": 2519
  }
}
```

## 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: NCBI PubChem data policy; each annotation keeps its source's licence note (e.g. ECHA, CC BY 4.0).

Attribution: Data from PubChem, National Center for Biotechnology Information (NCBI), and the sources cited in each annotation.

[Provider documentation](https://pubchem.ncbi.nlm.nih.gov/docs/pug-view)

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

---

[HTML page](/providers/pubchem/compound-safety) · [Agent index](/llms.txt)
