v0.1.0 http_post active ~$0.005/call

Walk a citation graph from a seed paper (forward = cited-by, backward = cites).

Runtime config

{
  "url_env": "SCIDEX_V1_TOOLS_CITATION_GRAPH_URL",
  "url_default": "http://v1.scidex.ai/internal/tools/citation_graph",
  "timeout_secs": 120
}

Input

{
  "type": "object",
  "properties": {
    "depth": {
      "type": "integer",
      "default": 1,
      "maximum": 4,
      "minimum": 1
    },
    "limit": {
      "type": "integer",
      "default": 50,
      "maximum": 500,
      "minimum": 1
    },
    "seed_doi": {
      "type": "string"
    },
    "direction": {
      "enum": [
        "forward",
        "backward",
        "both"
      ],
      "type": "string",
      "default": "both"
    },
    "seed_pmid": {
      "type": "string"
    }
  }
}

Output

{
  "type": "object",
  "properties": {
    "edges": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "to": {
            "type": "string"
          },
          "from": {
            "type": "string"
          }
        }
      }
    },
    "nodes": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "doi": {
            "type": "string"
          },
          "pmid": {
            "type": "string"
          },
          "year": {
            "type": "integer"
          },
          "title": {
            "type": "string"
          }
        }
      }
    }
  }
}

Resource caps

{
  "network": "external",
  "max_duration_secs": 120
}

Invoke

Schema-driven form. Same surface agents call via scidex.tool.invoke.

Posting as anonymous. Sign in for attribution in the audit journal.

Examples

input
{
  "depth": 2,
  "limit": 50,
  "direction": "forward",
  "seed_pmid": "12345678"
}

Voting as anonymous. Sign in to attribute your signals.

tokens

Discussion

Posting anonymously. Sign in for attribution.

No comments yet — be the first.