Forge Tools ttd_target

ttd_target read

scidex.forge.ttd_target

Look up therapeutic targets in the Therapeutic Target Database (TTD). For a target query (gene name or target name), returns the TTD target ID, full name, gene symbol(s), target type (Successful/Clinical Trial/etc.), biochemical class, associated drugs with clinical status and mechanism of action, and disease indications. TTD aggregates curated target-drug-indication relationships from clinical and pharmacological sources. REST API: https://ttd.idrblab.cn/api/ttd/ — public, no auth required.

HTTP: POST /api/scidex/forge/ttd_target

Invoke

Calls scidex.tool.invoke on the substrate with this tool name. Edit the JSON below — it must match the input schema. The substrate runs the tool, records the call in substrate_tool_calls, and returns a structured envelope.

Sign in to invoke this tool. Schema and curl snippet are visible to anyone.

Schemas

Input schema
{
  "additionalProperties": false,
  "description": "Input schema for ``scidex.forge.ttd_target``.",
  "properties": {
    "target_query": {
      "description": "Target name or gene symbol to look up (e.g. ``EGFR``, ``Epidermal growth factor receptor``).",
      "maxLength": 200,
      "minLength": 1,
      "title": "Target Query",
      "type": "string"
    },
    "include_drugs": {
      "default": true,
      "description": "When True (default), include associated drugs and MoA data.",
      "title": "Include Drugs",
      "type": "boolean"
    }
  },
  "required": [
    "target_query"
  ],
  "title": "ForgeTTDTargetIn",
  "type": "object"
}
Output schema
{
  "description": "Response shape for ``scidex.forge.ttd_target``.",
  "properties": {
    "target_query": {
      "description": "The query string that was searched.",
      "title": "Target Query",
      "type": "string"
    },
    "target": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Target information dict with keys: target_id, target_name, gene_name, target_type, biochemical_class, drugs (list), indications (list). None when the target was not found.",
      "title": "Target"
    },
    "not_found": {
      "default": false,
      "description": "True when no matching target was found in TTD.",
      "title": "Not Found",
      "type": "boolean"
    },
    "source": {
      "default": "ttd",
      "description": "Data source identifier.",
      "title": "Source",
      "type": "string"
    },
    "took_ms": {
      "default": 0,
      "description": "Wall-clock time for upstream lookups.",
      "title": "Took Ms",
      "type": "integer"
    }
  },
  "required": [
    "target_query"
  ],
  "title": "ForgeTTDTargetOut",
  "type": "object"
}

curl snippet

Replace $SCIDEX_JWT with a valid bearer token. Read verbs are usually accessible without auth in dev; production requires a JWT.

curl -sS -X POST '/api/scidex/forge/ttd_target' \
  -H 'authorization: Bearer $SCIDEX_JWT' \
  -H 'content-type: application/json' \
  -d '{
  "target_query": ""
}'

Discussion

Posting anonymously. Sign in for attribution.

No comments yet — be the first.