[
{
"name": "get_associated_targets_by_disease_efoId",
"description": "Find targets associated with a specific disease or phenotype based on efoId.\n\nArgs:\n efoId: The EFO ID of a disease or phenotype.\n\n Query example: {\n \"efoId\": \"EFO_0000400\"\n}\n\nReturns:\n Dictionary containing search results with targets associated with the specified disease or phenotype.",
"label": [
"Disease",
"Phenotype",
"Target",
"Association",
"OpenTarget",
"GraphQL"
],
"parameter": {
"type": "object",
"properties": {
"efoId": {
"type": "string",
"description": "The efoId of a disease or phenotype."
},
"required": [
"efoId"
]
}
},
"query_schema": "\nquery associatedTargets($efoId: String!) {\n disease(efoId: $efoId) {\n id\n name\n associatedTargets {\n count\n rows {\n target {\n id\n approvedSymbol\n }\n score\n }\n }\n }\n}\n",
"type": "OpenTarget"
},
{
"name": "get_associated_diseases_phenotypes_by_target_ensemblID",
"description": "Find diseases or phenotypes associated with a specific target using ensemblId.\n\nArgs:\n ensemblId: The Ensembl ID of a target.\n\n Query example: {\n \"ensemblId\": \"ENSG00000198888\"\n}\n\nReturns:\n Dictionary containing search results with diseases or phenotypes associated with the specified target.\n The results include the disease ID, name, and a list of datasource scores indicating the strength of the association from various sources.",
"label": [
"Target",
"Disease",
"Phenotype",
"Association",
"OpenTarget",
"GraphQL"
],
"parameter": {
"type": "object",
"properties": {
"ensemblId": {
"type": "string",
"description": "The ensemblId of a target."
},
"required": [
"ensemblId"
]
}
},
"query_schema": "\nquery associatedDiseases($ensemblId: String!) {\n target(ensemblId: $ensemblId) {\n id\n approvedSymbol\n associatedDiseases {\n count\n rows {\n disease {\n id\n name\n }\n datasourceScores {\n id\n score\n }\n }\n }\n }\n}\n",
"type": "OpenTarget"
},
{
"name": "target_disease_evidence",
"description": "Explore evidence that supports a specific target-disease association.\n\nArgs:\n efoId: The EFO ID of a disease or phenotype.\n ensemblId: The Ensembl ID of a target.\n\n Query example: {\n \"efoId\": \"EFO_0000400\",\n \"ensemblId\": \"ENSG00000198888\"\n}\n\nReturns:\n Dictionary containing evidence supporting the association between the specified target and disease,\n including disease and target details, and potentially source information.",
"label": [
"Target",
"Disease",
"Evidence",
"Association",
"OpenTarget",
"GraphQL"
],
"parameter": {
"type": "object",
"properties": {
"efoId": {
"type": "string",
"description": "The efoId of a disease or phenotype."
},
"ensemblId": {
"type": "string",
"description": "The ensemblId of a target."
},
"required": [
"efoId",
"ensemblId"
]
}
},
"query_schema": "\nquery targetDiseaseEvidence($efoId: String!, $ensemblId: String!) {\n disease(efoId: $efoId) {\n id\n name\n evidences(ensemblIds: [$ensemblId]) {\n count\n rows {\n disease {\n id\n name\n }\n diseaseFromSource\n target {\n id\n approvedSymbol\n }\n mutatedSamples {\n functionalConsequence {\n id\n label\n }\n numberSamplesTested\n numberMutatedSamples\n }\n resourceScore\n significantDriverMethods\n cohortId\n cohortShortName\n cohortDescription\n }\n }\n }\n}\n",
"type": "OpenTarget"
},
{
"name": "get_drug_warnings_by_chemblId",
"description": "Retrieve warnings for a specific drug using ChEMBL ID.\n\nArgs:\n chemblId: The ChEMBL ID of the drug.\n\n Query example: {\n \"chemblId\": \"CHEMBL2\"\n}\n\nReturns:\n Dictionary containing drug warnings for the specified ChEMBL ID.\n Note: The example output provided does not show any warnings,\n only the drug ID and name. A more complete example would be\n needed to fully describe the warnings structure.",
"parameter": {
"type": "object",
"properties": {
"chemblId": {
"type": "string",
"description": "The ChEMBL ID of the drug."
},
"required": [
"chemblId"
]
}
},
"query_schema": "\n query drugWarnings($chemblId: String!) {\n drug(chemblId: $chemblId) {\n id\n name\n drugWarnings {\n warningType\n description\n country\n year\n toxicityClass\n chemblIds\n efoIdForWarningClass\n references {\n id\n source\n url\n }\n }\n }\n }\n ",
"label": [
"Drug",
"AdverseEvents",
"SafetyLiability",
"OpenTarget",
"GraphQL",
"Warnings",
"Safety",
"Withdrawal",
"Toxicity"
],
"type": "OpenTarget"
},
{
"name": "get_drug_mechanisms_of_action_by_chemblId",
"description": "Retrieve the mechanisms of action associated with a specific drug using chemblId.\n\nArgs:\n chemblId: The ChEMBL ID of the drug.\n\n Query example: {\n \"chemblId\": \"CHEMBL2\"\n}\n\nReturns:\n Dictionary containing the mechanisms of action for the specified drug, including action type, target name, and target Ensembl IDs.",
"parameter": {
"type": "object",
"properties": {
"chemblId": {
"type": "string",
"description": "The ChEMBL ID of the drug."
},
"required": [
"chemblId"
]
}
},
"query_schema": "\n query drugMechanismsOfAction($chemblId: String!) {\n drug(chemblId: $chemblId) {\n id\n name\n mechanismsOfAction {\n rows {\n mechanismOfAction\n actionType\n targetName\n targets {\n id\n approvedSymbol\n }\n }\n }\n }\n }\n ",
"label": [
"Drug",
"MechanismsOfAction",
"Target",
"Pharmacology",
"ChemblId",
"OpenTarget",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "get_associated_drugs_by_disease_efoId",
"description": "Retrieve known drugs associated with a specific disease by disease efoId.\n\nArgs:\n efoId: The EFO ID of the disease.\n size: Number of entries to fetch, recommending a large number to avoid missing drugs.\n\n Query example: {\n \"efoId\": \"EFO_0000400\",\n \"size\": 100\n}\n\nReturns:\n Dictionary containing search results with drugs associated with the specified disease.",
"parameter": {
"type": "object",
"properties": {
"efoId": {
"type": "string",
"description": "The EFO ID of the disease."
},
"size": {
"type": "integer",
"description": "Number of entries to fetch, recomanding a large number to avoid missing drugs."
},
"required": [
"efoId",
"size"
]
}
},
"query_schema": "\n query diseaseKnownDrugs($efoId: String!, $size: Int!, $freeTextQuery: String) {\n disease(efoId: $efoId) {\n id\n name\n knownDrugs(size: $size, freeTextQuery: $freeTextQuery) {\n count\n rows {\n drug {\n id\n name\n tradeNames\n maximumClinicalTrialPhase\n isApproved\n hasBeenWithdrawn\n }\n phase\n status\n mechanismOfAction\n target {\n id\n approvedSymbol\n }\n }\n }\n }\n }\n ",
"label": [
"OpenTarget",
"Disease",
"Drug",
"Pagination",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "get_similar_entities_by_disease_efoId",
"description": "Retrieve similar entities for a given disease efoId using a model trained with PubMed.\n\nArgs:\n efoId: The EFO ID of the disease.\n threshold: Threshold similarity between 0 and 1. Only results above threshold are returned.\n size: Number of similar entities to fetch.\n\n Query example: {\n \"efoId\": \"EFO_0000400\",\n \"threshold\": 0.5,\n \"size\": 10\n}\n\nReturns:\n Dictionary containing similar entities to the specified disease, based on the provided threshold and size.",
"parameter": {
"type": "object",
"properties": {
"efoId": {
"type": "string",
"description": "The EFO ID of the disease."
},
"threshold": {
"type": "number",
"description": "Threshold similarity between 0 and 1. Only results above threshold are returned."
},
"size": {
"type": "integer",
"description": "Number of similar entities to fetch."
},
"required": [
"efoId",
"size",
"threshold"
]
}
},
"query_schema": "\n query diseaseSimilarEntities($efoId: String!, $threshold: Float!, $size: Int!) {\n disease(efoId: $efoId) {\n id\n name\n similarEntities(threshold: $threshold, size: $size) {\n id\n category\n score\n object {\n ... on Disease {\n id\n name\n }\n ... on Target {\n id\n approvedSymbol\n }\n ... on Drug {\n id\n name\n }\n }\n }\n }\n }\n ",
"label": [
"Disease",
"Similarity",
"Model",
"Entities",
"OpenTarget",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "get_similar_entities_by_drug_chemblId",
"description": "Retrieve similar entities for a given drug chemblId using a model trained with PubMed.\n\nArgs:\n chemblId: The ChEMBL ID of the drug.\n threshold: Threshold similarity between 0 and 1. Only results above threshold are returned.\n size: Number of similar entities to fetch.\n\n Query example: {\n \"chemblId\": \"CHEMBL2\",\n \"threshold\": 0.8,\n \"size\": 10\n}\n\nReturns:\n Dictionary containing similar entities to the specified drug, including their ID, category, score, and object details.",
"parameter": {
"type": "object",
"properties": {
"chemblId": {
"type": "string",
"description": "The chemblId of the disease."
},
"threshold": {
"type": "number",
"description": "Threshold similarity between 0 and 1. Only results above threshold are returned."
},
"size": {
"type": "integer",
"description": "Number of similar entities to fetch."
},
"required": [
"chemblId",
"size",
"threshold"
]
}
},
"query_schema": "\n query diseaseSimilarEntities($chemblId: String!, $threshold: Float!, $size: Int!) {\n drug(chemblId: $chemblId) {\n id\n name\n similarEntities(threshold: $threshold, size: $size) {\n id\n category\n score\n object {\n ... on Disease {\n id\n name\n }\n ... on Target {\n id\n approvedSymbol\n }\n ... on Drug {\n id\n name\n }\n }\n }\n }\n }\n ",
"label": [
"Drug",
"Similarity",
"Model",
"Entities",
"OpenTarget",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "get_similar_entities_by_target_ensemblID",
"description": "Retrieve similar entities for a given target ensemblID using a model trained with PubMed.\n\nArgs:\n ensemblId: The Ensembl ID of the target.\n threshold: Threshold similarity between 0 and 1. Only results above threshold are returned.\n size: Number of similar entities to fetch.\n\n Query example: {\n \"ensemblId\": \"ENSG00000198888\",\n \"threshold\": 0.8,\n \"size\": 10\n}\n\nReturns:\n Dictionary containing similar entities to the specified target, including their ID, category, score, and object details.",
"parameter": {
"type": "object",
"properties": {
"ensemblId": {
"type": "string",
"description": "The ensemblID of the disease."
},
"threshold": {
"type": "number",
"description": "Threshold similarity between 0 and 1. Only results above threshold are returned."
},
"size": {
"type": "integer",
"description": "Number of similar entities to fetch."
},
"required": [
"ensemblId",
"size",
"threshold"
]
}
},
"query_schema": "\n query diseaseSimilarEntities($ensemblId: String!, $threshold: Float!, $size: Int!) {\n target(ensemblId: $ensemblId) {\n id\n approvedSymbol\n similarEntities(threshold: $threshold, size: $size) {\n id\n category\n score\n object {\n ... on Disease {\n id\n name\n }\n ... on Target {\n id\n approvedSymbol\n }\n ... on Drug {\n id\n name\n }\n }\n }\n }\n }\n ",
"label": [
"Disease",
"Similarity",
"Model",
"Entities",
"OpenTarget",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "get_associated_phenotypes_by_disease_efoId",
"description": "Find HPO phenotypes associated with the specified disease efoId.\n\nArgs:\n efoId: The EFO ID of a disease or phenotype.\n\n Query example: {\n \"efoId\": \"EFO_0000400\"\n}\n\nReturns:\n Dictionary containing search results with HPO phenotypes associated with the specified disease,\n including the phenotype's HPO ID, name, and description.",
"parameter": {
"type": "object",
"properties": {
"efoId": {
"type": "string",
"description": "The efoId of a disease or phenotype."
},
"required": [
"efoId"
]
}
},
"query_schema": "query diseaseAnnotation($efoId: String!) {\n disease(efoId: $efoId) {\n id\n name\n phenotypes {\n rows {\n phenotypeHPO {\n id\n name\n description\n namespace\n }\n phenotypeEFO {\n id\n name\n }\n }\n }\n }\n}",
"label": [
"Disease",
"OpenTarget",
"GraphQL",
"Phenotype",
"Symptoms",
"Clinical signs"
],
"type": "OpenTarget"
},
{
"name": "get_drug_withdrawn_blackbox_status_by_chemblId",
"description": "Find withdrawn and black-box warning statuses for a specific drug by chemblId.",
"parameter": {
"type": "object",
"properties": {
"chemblId": {
"type": "array",
"items": {
"type": "string"
},
"description": "The chemblId of a drug."
},
"required": [
"chemblId"
]
}
},
"query_schema": "\n query drugWithdrawnWarningData($chemblId: String!) {\n drug(chemblId: $chemblId) {\n name\n id\n hasBeenWithdrawn\n blackBoxWarning\n }\n }\n ",
"label": [
"Drug",
"SafetyWarnings",
"Withdrawal",
"OpenTarget",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "search_category_counts_by_query_string",
"description": "Get the count of entries in each entity category (disease, target, drug) based on a query string.\nArgs:\n queryString: The search string for querying information.\nQuery example: {\n \"queryString\": \"inflammatory bowel disease\"\n}\nReturns:\n Dictionary containing the total count and counts for each entity category.",
"parameter": {
"type": "object",
"properties": {
"queryString": {
"type": "string",
"description": "The search string for querying information."
},
"required": [
"queryString"
]
}
},
"query_schema": "\n query searchCategoryCounts($queryString: String!) {\n search(queryString: $queryString) {\n aggregations {\n total\n entities {\n total\n name\n }\n }\n }\n }\n ",
"label": [
"OpenTarget",
"GraphQL",
"SearchResults",
"Search",
"Query",
"Counts",
"Categories"
],
"type": "OpenTarget"
},
{
"name": "get_disease_id_description_by_name",
"description": "Retrieve the efoId and additional details of a disease based on its name.\nArgs:\n diseaseName: The name of the disease to search for.\nQuery example: {\n \"diseaseName\": \"inflammatory bowel disease\"\n}\nReturns:\n Dictionary containing search results with hits including the ID, name, and description of the disease.",
"parameter": {
"type": "object",
"properties": {
"diseaseName": {
"type": "string",
"description": "The name of the disease to search for."
},
"required": [
"diseaseName"
]
}
},
"query_schema": "\n query getDiseaseIdByName($diseaseName: String!) {\n search(queryString: $diseaseName, entityNames: [\"disease\"]) {\n hits {\n id\n name\n description\n }\n }\n }\n ",
"label": [
"Disease",
"Identification",
"Search",
"Name",
"Disease",
"OpenTarget",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "get_drug_id_description_by_name",
"description": "Fetch the drug chemblId and description based on the drug name.\nArgs:\n drugName: The name of the drug for which the ID is required.\nQuery example: {\n \"drugName\": \"OMEPRAZOLE\"\n}\nReturns:\n Dictionary containing search results with hits including the ChEMBL ID, name, and description of the drug.",
"parameter": {
"type": "object",
"properties": {
"drugName": {
"type": "string",
"description": "The name of the drug for which the ID is required."
},
"required": [
"drugName"
]
}
},
"query_schema": "\n query getDrugIdByName($drugName: String!) {\n search(queryString: $drugName, entityNames: [\"drug\"]) {\n hits {\n id\n name\n description\n }\n }\n }\n ",
"label": [
"Identification",
"Search",
"Name",
"Drug",
"OpenTarget",
"GraphQL"
],
"type": "OpentargetToolDrugNameMatch"
},
{
"name": "get_drug_indications_by_chemblId",
"description": "Fetch indications (treatable phenotypes/diseases) for a given drug chemblId.\nArgs:\n chemblId: The chemblId of the drug for which to retrieve treatable phenotypes information.\nQuery example: {\n \"chemblId\": \"CHEMBL135\"\n}\nReturns:\n Dictionary containing the drug's indications, including disease ID, name, maximum clinical trial phase, and references.",
"parameter": {
"type": "object",
"properties": {
"chemblId": {
"type": "string",
"description": "The chemblId of the drug for which to retrieve treatable phenotypes information."
},
"required": [
"chemblId"
]
}
},
"query_schema": "\n query drugIndications($chemblId: String!) {\n drug(chemblId: $chemblId) {\n id\n name\n indications {\n rows {\n disease {\n id\n name\n }\n maxPhaseForIndication\n references {\n source\n }\n }\n }\n }\n }\n ",
"label": [
"Drug",
"Indications",
"Disease",
"Treatment",
"OpenTarget",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "get_target_gene_ontology_by_ensemblID",
"description": "Retrieve Gene Ontology annotations for a specific target by Ensembl ID.\nArgs:\n ensemblId: The Ensembl ID of the target for which to retrieve Gene Ontology annotations.\nQuery example: {\n \"ensemblId\": \"ENSG00000146648\"\n}\nReturns:\n Dictionary containing the target's Gene Ontology annotations.",
"parameter": {
"type": "object",
"properties": {
"ensemblId": {
"type": "string",
"description": "The Ensembl ID of the target for which to retrieve Gene Ontology annotations."
},
"required": [
"ensemblId"
]
}
},
"query_schema": "\n query targetGeneOntology($ensemblId: String!) {\n target(ensemblId: $ensemblId) {\n id\n approvedSymbol\n geneOntology {\n aspect\n evidence\n geneProduct\n source\n term {\n id\n name\n }\n }\n }\n }\n ",
"label": [
"Target",
"GeneOntology",
"OpenTarget",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "get_target_homologues_by_ensemblID",
"description": "Fetch homologues for a specific target by Ensembl ID.\nArgs:\n ensemblId: The Ensembl ID of the target for which to retrieve homologues.\nQuery example: {\n \"ensemblId\": \"ENSG00000146648\"\n}\nReturns:\n Dictionary containing the target's homologues, including homology type, percentage identity, species information, and target gene details.",
"parameter": {
"type": "object",
"properties": {
"ensemblId": {
"type": "string",
"description": "The Ensembl ID of the target for which to retrieve homologues."
},
"required": [
"ensemblId"
]
}
},
"query_schema": "\n query targetHomologues($ensemblId: String!) {\n target(ensemblId: $ensemblId) {\n id\n approvedSymbol\n homologues {\n homologyType\n queryPercentageIdentity\n speciesId\n speciesName\n targetGeneId\n targetGeneSymbol\n targetPercentageIdentity\n isHighConfidence\n }\n }\n }\n ",
"label": [
"OpenTarget",
"Target Information",
"GraphQL",
"Homologue"
],
"type": "OpenTarget"
},
{
"name": "get_target_safety_profile_by_ensemblID",
"description": "Retrieve known target safety liabilities for a specific target Ensembl ID.\nArgs:\n ensemblId: The Ensembl ID of the target for which to retrieve safety liabilities.\nQuery example: {\n \"ensemblId\": \"ENSG00000146648\"\n}\nReturns:\n Dictionary containing the target's safety liabilities, including event, event ID, biosamples, effects, studies, data source, and literature references.",
"parameter": {
"type": "object",
"properties": {
"ensemblId": {
"type": "string",
"description": "The Ensembl ID of the target for which to retrieve safety liabilities."
},
"required": [
"ensemblId"
]
}
},
"query_schema": "\n query targetSafetyLiabilities($ensemblId: String!) {\n target(ensemblId: $ensemblId) {\n id\n approvedSymbol\n safetyLiabilities {\n event\n eventId\n biosamples {\n cellFormat\n cellLabel\n tissueLabel\n tissueId\n }\n effects {\n dosing\n direction\n }\n studies {\n name\n type\n description\n }\n datasource\n literature\n }\n }\n }\n ",
"label": [
"Target",
"SafetyLiability",
"OpenTarget",
"GraphQL",
"Safety",
"Liabilities"
],
"type": "OpenTarget"
},
{
"name": "get_biological_mouse_models_by_ensemblID",
"description": "Retrieve biological mouse models, including allelic compositions and genetic backgrounds, for a specific target.\nArgs:\n ensemblId: The Ensembl ID of the target.\nQuery example: {\n \"ensemblId\": \"ENSG00000146648\"\n}\nReturns:\n Dictionary containing the target's mouse phenotypes and associated biological models.",
"parameter": {
"type": "object",
"properties": {
"ensemblId": {
"type": "string",
"description": "The Ensembl ID of the target."
},
"required": [
"ensemblId"
]
}
},
"query_schema": "\n query fetchBiologicalModels($ensemblId: String!) {\n target(ensemblId: $ensemblId) {\n id\n approvedSymbol\n mousePhenotypes {\n biologicalModels {\n allelicComposition\n geneticBackground\n id\n literature\n }\n }\n }\n }\n ",
"label": [
"OpenTarget",
"Target Information",
"BiologicalModels",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "get_target_genomic_location_by_ensemblID",
"description": "Retrieve genomic location data for a specific target, including chromosome, start, end, and strand.\nArgs:\n ensemblId: The Ensembl ID of the target for which to retrieve genomic location information.\nQuery example: {\n \"ensemblId\": \"ENSG00000146648\"\n}\nReturns:\n Dictionary containing the target's genomic location information.",
"parameter": {
"type": "object",
"properties": {
"ensemblId": {
"type": "string",
"description": "The Ensembl ID of the target for which to retrieve genomic location information."
},
"required": [
"ensemblId"
]
}
},
"query_schema": "\n query targetGenomicLocation($ensemblId: String!) {\n target(ensemblId: $ensemblId) {\n id\n approvedSymbol\n genomicLocation {\n chromosome\n start\n end\n strand\n }\n }\n }\n ",
"label": [
"Target",
"GenomicLocation",
"OpenTarget",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "get_target_subcellular_locations_by_ensemblID",
"description": "Retrieve information about subcellular locations for a specific target Ensembl ID.\nArgs:\n ensemblId: The Ensembl ID of a target.\nQuery example: {\n \"ensemblId\": \"ENSG00000146648\"\n}\nReturns:\n Dictionary containing the target's subcellular location information.",
"parameter": {
"type": "object",
"properties": {
"ensemblId": {
"type": "string",
"description": "The ensemblId of a target."
},
"required": [
"ensemblId"
]
}
},
"query_schema": "\n query targetSubcellularLocations($ensemblId: String!) {\n target(ensemblId: $ensemblId) {\n id\n approvedSymbol\n subcellularLocations {\n location\n source\n termSL\n labelSL\n }\n }\n }\n ",
"label": [
"Target",
"Subcellular Locations",
"GraphQL",
"OpenTarget"
],
"type": "OpenTarget"
},
{
"name": "get_target_synonyms_by_ensemblID",
"description": "Retrieve synonyms for a specified target, including alternative names and symbols, using the given Ensembl ID.\nArgs:\n ensemblId: The Ensembl ID of the target.\nQuery example: {\n \"ensemblId\": \"ENSG00000146648\"\n}\nReturns:\n Dictionary containing the target's synonyms, symbol synonyms, and name synonyms.",
"parameter": {
"type": "object",
"properties": {
"ensemblId": {
"type": "string",
"description": "The Ensembl ID of the target."
},
"required": [
"ensemblId"
]
}
},
"query_schema": "\n query retrieveTargetSynonyms($ensemblId: String!) {\n target(ensemblId: $ensemblId) {\n id\n approvedSymbol\n synonyms {\n label\n source\n }\n symbolSynonyms {\n label\n source\n }\n nameSynonyms {\n label\n source\n }\n }\n }\n ",
"label": [
"OpenTarget",
"Target Information",
"GraphQL",
"Target"
],
"type": "OpenTarget"
},
{
"name": "get_target_tractability_by_ensemblID",
"description": "Retrieve tractability assessments, including modality and values, for a specific target Ensembl ID.\nArgs:\n ensemblId: The Ensembl ID of the target.\nQuery example: {\n \"ensemblId\": \"ENSG00000146648\"\n}\nReturns:\n Dictionary containing the target's tractability assessments by modality.",
"parameter": {
"type": "object",
"properties": {
"ensemblId": {
"type": "string",
"description": "The Ensembl ID of the target."
},
"required": [
"ensemblId"
]
}
},
"query_schema": "\n query targetTractabilityAssessment($ensemblId: String!) {\n target(ensemblId: $ensemblId) {\n id\n approvedSymbol\n tractability {\n label\n modality\n value\n }\n }\n }\n ",
"label": [
"Target",
"Tractability",
"OpenTarget",
"Target Information",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "get_target_classes_by_ensemblID",
"description": "Retrieve the target classes associated with a specific target Ensembl ID.\nArgs:\n ensemblId: The Ensembl ID of the target.\nQuery example: {\n \"ensemblId\": \"ENSG00000146648\"\n}\nReturns:\n Dictionary containing the target's class information, including ID, label, and level.",
"parameter": {
"type": "object",
"properties": {
"ensemblId": {
"type": "string",
"description": "The Ensembl ID of the target."
},
"required": [
"ensemblId"
]
}
},
"query_schema": "\n query fetchTargetClasses($ensemblId: String!) {\n target(ensemblId: $ensemblId) {\n id\n approvedSymbol\n targetClass {\n id\n label\n level\n }\n }\n }\n ",
"label": [
"OpenTarget",
"Target Information",
"GraphQL",
"Target"
],
"type": "OpenTarget"
},
{
"name": "get_target_enabling_packages_by_ensemblID",
"description": "Retrieve the Target Enabling Packages (TEP) associated with a specific target Ensembl ID.\nArgs:\n ensemblId: The Ensembl ID of the target.\nQuery example: {\n \"ensemblId\": \"ENSG00000146648\"\n}\nReturns:\n Dictionary containing the target's TEP information if available.",
"parameter": {
"type": "object",
"properties": {
"ensemblId": {
"type": "string",
"description": "The Ensembl ID of the target."
},
"required": [
"ensemblId"
]
}
},
"query_schema": "\n query fetchTargetEnablingPackages($ensemblId: String!) {\n target(ensemblId: $ensemblId) {\n id\n approvedSymbol\n tep {\n name\n uri\n therapeuticArea\n description\n }\n }\n }\n ",
"label": [
"OpenTarget",
"Target Information",
"GraphQL",
"Target"
],
"type": "OpenTarget"
},
{
"name": "get_target_interactions_by_ensemblID",
"description": "Retrieve interaction data for a specific target Ensembl ID, including interaction partners and evidence.\nArgs:\n ensemblId: The Ensembl ID of the target.\n page: Pagination parameters with index and size.\nQuery example: {\n \"ensemblId\": \"ENSG00000141510\",\n \"page\": {\n \"index\": 0,\n \"size\": 10\n }\n}\nReturns:\n Dictionary containing interaction data, including interaction partners, source database, and evidence (PubMed IDs and detection methods).",
"label": [
"Target",
"Interaction",
"Evidence",
"GraphQL",
"Pagination",
"OpenTarget"
],
"parameter": {
"type": "object",
"properties": {
"ensemblId": {
"type": "string",
"description": "The Ensembl ID of the target."
},
"page": {
"type": "object",
"properties": {
"index": {
"type": "integer",
"description": "The index of the page to retrieve."
},
"size": {
"type": "integer",
"description": "The number of items per page."
},
"required": [
"index",
"size"
]
},
"description": "Pagination parameters."
},
"required": [
"ensemblId"
]
}
},
"query_schema": "\n query targetInteractions($ensemblId: String!, $page: Pagination!) {\n target(ensemblId: $ensemblId) {\n id\n approvedSymbol\n interactions(page: $page) {\n count\n rows {\n intA\n targetA {\n id\n approvedSymbol\n }\n intB\n targetB {\n id\n approvedSymbol\n }\n score\n sourceDatabase\n evidences {\n evidenceScore\n pubmedId\n interactionDetectionMethodShortName\n }\n }\n }\n }\n }\n ",
"type": "OpenTarget"
},
{
"name": "get_disease_ancestors_parents_by_efoId",
"description": "Retrieve the disease ancestors and parents in the ontology using the disease EFO ID.\n\nArgs:\n efoId: The EFO ID of the disease.\n\n Query example: {\n \"efoId\": \"EFO_0003767\"\n}\n\nReturns:\n Dictionary containing the disease ID, name, a list of its ancestor EFO IDs,\n and a list of its direct parent disease objects (each with ID and name).",
"parameter": {
"type": "object",
"properties": {
"efoId": {
"type": "string",
"description": "The EFO ID of the disease."
},
"required": [
"efoId"
]
}
},
"query_schema": "\n query getDiseaseDetailsByEfoId($efoId: String!) {\n disease(efoId: $efoId) {\n id\n name\n ancestors\n parents {\n id\n name\n }\n }\n }\n ",
"label": [
"OpenTarget",
"Disease",
"Disease Information",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "get_disease_descendants_children_by_efoId",
"description": "Retrieve the disease descendants and children in the ontology using the disease EFO ID.\n\nArgs:\n efoId: The EFO ID of the disease.\n\n Query example: {\n \"efoId\": \"EFO_0003767\"\n}\n\nReturns:\n Dictionary containing the disease ID, name, a list of its descendant EFO IDs,\n and a list of its direct child disease objects (each with ID and name).",
"parameter": {
"type": "object",
"properties": {
"efoId": {
"type": "string",
"description": "The EFO ID of the disease."
},
"required": [
"efoId"
]
}
},
"query_schema": "\n query getDiseaseDetailsByEfoId($efoId: String!) {\n disease(efoId: $efoId) {\n id\n name\n descendants\n children {\n id\n name\n }\n }\n }\n",
"label": [
"OpenTarget",
"Disease",
"Disease Information",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "get_disease_locations_by_efoId",
"description": "Retrieve the disease's direct location and indirect location disease terms and IDs using the disease EFO ID.\n\nArgs:\n efoId: The EFO ID of the disease.\n\n Query example: {\n \"efoId\": \"EFO_0003767\"\n}\n\nReturns:\n Dictionary containing the disease's ID, name, and its associated direct and indirect location terms and IDs.\n # Note: This function consistently returned 'null' during testing, indicating no data was returned or an issue with the call.\n # The exact structure of a successful return for disease locations is not available from the provided examples.",
"parameter": {
"type": "object",
"properties": {
"efoId": {
"type": "string",
"description": "The EFO ID of the disease."
},
"required": [
"efoId"
]
}
},
"query_schema": "\n query getDiseaseDetailsByEfoId($efoId: String!) {\n disease(efoId: $efoId) {\n id\n name\n directLocationIds\n indirectLocationIds\n directLocations {\n id\n name\n }\n indirectLocations {\n id\n name\n }\n }\n }\n ",
"label": [
"OpenTarget",
"Disease",
"Disease Information",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "get_disease_synonyms_by_efoId",
"description": "Retrieve disease synonyms by its EFO ID.\n\nArgs:\n efoId: The EFO ID of the disease.\n\n Query example: {\n \"efoId\": \"EFO_0003767\"\n}\n\nReturns:\n Dictionary containing the disease's ID, name, and a list of its synonyms.\n Each synonym includes its relation (e.g., hasExactSynonym, hasRelatedSynonym) and the terms themselves.",
"parameter": {
"type": "object",
"properties": {
"efoId": {
"type": "string",
"description": "The EFO ID of the disease."
},
"required": [
"efoId"
]
}
},
"query_schema": "\n query getDiseaseDetailsByEfoId($efoId: String!) {\n disease(efoId: $efoId) {\n id\n name\n synonyms {\n relation\n terms\n }\n }\n }\n",
"label": [
"OpenTarget",
"Disease",
"Disease Information",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "get_disease_description_by_efoId",
"description": "Retrieve disease description, name, database cross-references, obsolete terms, and whether it's a therapeutic area, all using the specified EFO ID.\n\nArgs:\n efoId: The EFO ID of the disease.\n\n Query example: {\n \"efoId\": \"EFO_0003767\"\n}\n\nReturns:\n Dictionary containing the disease's ID, name, description, database cross-references, and a boolean indicating if it's a therapeutic area.\n # Note: This function consistently returned 'null' during testing, indicating no data was returned or an issue with the call.\n # The exact structure of a successful return for disease description (including 'obsolete terms') is not available from the provided examples.",
"parameter": {
"type": "object",
"properties": {
"efoId": {
"type": "string",
"description": "The EFO ID of the disease."
},
"required": [
"efoId"
]
}
},
"query_schema": "\n query getDiseaseDetailsByEfoId($efoId: String!) {\n disease(efoId: $efoId) {\n id\n name\n description\n dbXRefs\n obsoleteTerms\n isTherapeuticArea\n }\n }\n ",
"label": [
"OpenTarget",
"Disease",
"Disease Information",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "get_disease_therapeutic_areas_by_efoId",
"description": "Retrieve the therapeutic areas associated with a specific disease EFO ID.\n\nArgs:\n efoId: The EFO ID of the disease.\n\n Query example: {\n \"efoId\": \"EFO_0003767\"\n}\n\nReturns:\n Dictionary containing the disease's ID, name, and a list of its associated therapeutic areas,\n each including their ID and name.",
"parameter": {
"type": "object",
"properties": {
"efoId": {
"type": "string",
"description": "The EFO ID of the disease."
},
"required": [
"efoId"
]
}
},
"query_schema": "\n query diseaseTherapeuticAreas($efoId: String!) {\n disease(efoId: $efoId) {\n id\n name\n therapeuticAreas {\n id\n name\n }\n }\n }\n ",
"label": [
"OpenTarget",
"Disease",
"TherapeuticArea",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "get_drug_adverse_events_by_chemblId",
"description": "Retrieve significant adverse events reported for a specific drug ChEMBL ID.\nArgs:\n chemblId: The ChEMBL ID of the drug.\n page: Pagination settings with index and size.\nQuery example: {\n \"chemblId\": \"CHEMBL547\",\n \"page\": {\n \"index\": 0,\n \"size\": 10\n }\n}\nReturns:\n Dictionary containing the drug's adverse events, including name, MedDRA code, count, and log likelihood ratio.",
"parameter": {
"type": "object",
"properties": {
"chemblId": {
"type": "string",
"description": "The ChEMBL ID of the drug."
},
"page": {
"type": "object",
"properties": {
"index": {
"type": "integer",
"description": "Index of the page to fetch, starting from 0."
},
"size": {
"type": "integer",
"description": "Number of entries per page."
},
"required": [
"index",
"size"
]
},
"description": "Pagination settings."
},
"required": [
"chemblId"
]
}
},
"query_schema": "\n query drugAdverseEvents($chemblId: String!, $page: Pagination!) {\n drug(chemblId: $chemblId) {\n id\n name\n adverseEvents(page: $page) {\n count\n criticalValue\n rows {\n name\n meddraCode\n count\n logLR\n }\n }\n }\n }\n ",
"label": [
"Drug",
"AdverseEvents",
"Safety",
"Reporting",
"Pagination",
"OpenTarget",
"GraphQL",
"AdverseEvents"
],
"type": "OpenTarget"
},
{
"name": "get_known_drugs_by_drug_chemblId",
"description": "Get a list of known drugs and associated information using the specified ChEMBL ID.\nArgs:\n chemblId: The ChEMBL ID of the drug.\nQuery example: {\n \"chemblId\": \"CHEMBL135\"\n}\nReturns:\n Dictionary containing known drugs, associated targets and diseases, clinical trial phases, mechanism of action, and relevant URLs.",
"parameter": {
"type": "object",
"properties": {
"chemblId": {
"type": "string",
"description": "The ChEMBL ID of the drug."
},
"required": [
"chemblId"
]
}
},
"query_schema": "\n query retrieveMultipleDrugsInfo($chemblId: String!) {\n drug(chemblId: $chemblId) {\n id\n name\n knownDrugs {\n uniqueDrugs\n uniqueDiseases\n uniqueTargets\n count\n cursor\n rows {\n approvedSymbol\n approvedName\n label\n prefName\n drugType\n targetId\n diseaseId\n drugId\n phase\n mechanismOfAction\n status\n targetClass\n references {\n source\n ids\n urls\n }\n ctIds\n urls {\n url\n name\n }\n disease {\n id\n name\n }\n target {\n id\n approvedSymbol\n }\n drug {\n id\n name\n }\n }\n }\n }\n }\n ",
"label": [
"OpenTarget",
"Drug",
"Drug Information",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "get_parent_child_molecules_by_drug_chembl_ID",
"description": "Get parent and child molecules of specified drug ChEMBL ID.\nArgs:\n chemblId: The ChEMBL ID of the drug.\nQuery example: {\n \"chemblId\": \"CHEMBL135\"\n}\nReturns:\n Dictionary containing parent and child molecule information for the drug.",
"parameter": {
"type": "object",
"properties": {
"chemblId": {
"type": "string",
"description": "The ChEMBL ID of the drug."
},
"required": [
"chemblId"
]
}
},
"query_schema": "\n query retrieveMultipleDrugsInfo($chemblId: String!) {\n drug(chemblId: $chemblId) {\n id\n name\n parentMolecule {\n id\n name\n }\n childMolecules {\n id\n name\n }\n }\n }\n ",
"label": [
"OpenTarget",
"Drug",
"Drug Information",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "get_approved_indications_by_drug_chemblId",
"description": "Retrieve detailed information about multiple drugs using a list of ChEMBL IDs.\nArgs:\n chemblId: The ChEMBL ID of the drug.\nQuery example: {\n \"chemblId\": \"CHEMBL135\"\n}\nReturns:\n Dictionary containing the approved indications (EFO IDs) for the specified drug.",
"parameter": {
"type": "object",
"properties": {
"chemblId": {
"type": "string",
"description": "The ChEMBL ID of the drug."
},
"required": [
"chemblId"
]
}
},
"query_schema": "\n query retrieveMultipleDrugsInfo($chemblId: String!) {\n drug(chemblId: $chemblId) {\n id\n name\n approvedIndications\n }\n }\n ",
"label": [
"OpenTarget",
"Drug",
"Drug Information",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "get_drug_description_by_chemblId",
"description": "Get drug name, year of first approval, type, cross references, and max clinical trial phase based on specified chemblId.",
"parameter": {
"type": "object",
"properties": {
"chemblId": {
"type": "string",
"description": "The ChEMBL ID of the drug."
},
"required": [
"chemblId"
]
}
},
"query_schema": "\n query retrieveMultipleDrugsInfo($chemblId: String!) {\n drug(chemblId: $chemblId) {\n id\n name\n yearOfFirstApproval\n drugType\n crossReferences {\n source\n reference\n }\n maximumClinicalTrialPhase\n }\n }\n ",
"label": [
"OpenTarget",
"Drug",
"Drug Information",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "get_drug_synonyms_by_chemblId",
"description": "Retrieve the synonyms associated with a specific drug ChEMBL ID.\nArgs:\n chemblId: The ChEMBL ID of the drug.\nQuery example: {\n \"chemblId\": \"CHEMBL135\"\n}\nReturns:\n Dictionary containing the drug's synonyms.",
"parameter": {
"type": "object",
"properties": {
"chemblId": {
"type": "string",
"description": "The ChEMBL ID of the drug."
},
"required": [
"chemblId"
]
}
},
"query_schema": "\n query drugSynonyms($chemblId: String!) {\n drug(chemblId: $chemblId) {\n id\n name\n synonyms\n }\n }\n ",
"label": [
"OpenTarget",
"Drug Information",
"Drug",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "get_drug_trade_names_by_chemblId",
"description": "Retrieve the trade names associated with a specific drug ChEMBL ID.\nArgs:\n chemblId: The ChEMBL ID of the drug.\nQuery example: {\n \"chemblId\": \"CHEMBL135\"\n}\nReturns:\n Dictionary containing the drug's trade names.",
"parameter": {
"type": "object",
"properties": {
"chemblId": {
"type": "string",
"description": "The ChEMBL ID of the drug."
},
"required": [
"chemblId"
]
}
},
"query_schema": "\n query drugTradeNames($chemblId: String!) {\n drug(chemblId: $chemblId) {\n id\n name\n tradeNames\n }\n }\n ",
"label": [
"Drug",
"OpenTarget",
"Drug Information",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "get_drug_approval_status_by_chemblId",
"description": "Retrieve the approval status of a specific drug ChEMBL ID.\nArgs:\n chemblId: The ChEMBL ID of the drug.\nQuery example: {\n \"chemblId\": \"CHEMBL135\"\n}\nReturns:\n Dictionary containing the approval status of the drug (true/false).",
"parameter": {
"type": "object",
"properties": {
"chemblId": {
"type": "string",
"description": "The ChEMBL ID of the drug."
},
"required": [
"chemblId"
]
}
},
"query_schema": "\n query drugApprovalStatus($chemblId: String!) {\n drug(chemblId: $chemblId) {\n id\n name\n isApproved\n }\n }\n ",
"label": [
"Drug",
"Drug Information",
"GraphQL",
"OpenTarget"
],
"type": "OpenTarget"
},
{
"name": "get_chemical_probes_by_target_ensemblID",
"description": "Retrieve chemical probes associated with a specific target using its Ensembl ID.\n\nArgs:\n ensemblId: The Ensembl ID of the target for which to retrieve chemical probes.\n\n Query example: {\n \"ensemblId\": \"ENSG00000146648\"\n}\n\nReturns:\n Dictionary containing chemical probes associated with the specified target.\n Each probe includes its ID, drug ID (if applicable), mechanism of action,\n high-quality status, origin, various scores (ProbeMiner, ProbesDrugs, inCells, inOrganisms),\n target from source ID, and relevant URLs.",
"parameter": {
"type": "object",
"properties": {
"ensemblId": {
"type": "string",
"description": "The Ensembl ID of the target for which to retrieve chemical probes."
},
"required": [
"ensemblId"
]
}
},
"query_schema": "\n query getTargetChemicalProbes($ensemblId: String!) {\n target(ensemblId: $ensemblId) {\n chemicalProbes {\n id\n control\n drugId\n mechanismOfAction\n isHighQuality\n origin\n probeMinerScore\n probesDrugsScore\n scoreInCells\n scoreInOrganisms\n targetFromSourceId\n urls {\n niceName\n url\n }\n }\n }\n }\n ",
"label": [
"OpenTarget",
"Drug Information",
"ChemicalProbe",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "drug_pharmacogenomics_data",
"description": "Retrieve pharmacogenomics data for a specific drug, including evidence levels and genotype annotations.\nArgs:\n chemblId: The ChEMBL ID of the drug.\n page: Pagination options with index and size.\nQuery example: {\n \"chemblId\": \"CHEMBL941\",\n \"page\": {\n \"index\": 0,\n \"size\": 10\n }\n}\nReturns:\n Dictionary containing pharmacogenomics data for the drug, including genotype, evidence level, annotation text, and associated targets and variants.",
"label": [
"Drug",
"Pharmacogenomics",
"Evidence",
"Genotype",
"Pagination",
"OpenTarget",
"GraphQL"
],
"parameter": {
"type": "object",
"properties": {
"chemblId": {
"type": "string",
"description": "The ChEMBL ID of the drug."
},
"page": {
"type": "object",
"description": "Pagination options.",
"properties": {
"index": {
"type": "integer",
"description": "Pagination index."
},
"size": {
"type": "integer",
"description": "Number of records to fetch per page."
},
"required": [
"index",
"size"
]
}
},
"required": [
"chemblId"
]
}
},
"query_schema": "\n query drugPharmacogenomicsData($chemblId: String!, $page: Pagination!) {\n drug(chemblId: $chemblId) {\n id\n name\n pharmacogenomics(page: $page) {\n datasourceId\n datatypeId\n genotype\n evidenceLevel\n genotypeAnnotationText\n genotypeId\n haplotypeFromSourceId\n haplotypeId\n literature\n pgxCategory\n phenotypeFromSourceId\n phenotypeText\n studyId\n targetFromSourceId\n variantFunctionalConsequenceId\n variantRsId\n isDirectTarget\n variantFunctionalConsequence {\n id\n label\n }\n drugs {\n drugId\n drug {\n name\n }\n }\n target {\n id\n approvedSymbol\n }\n }\n }\n }\n ",
"type": "OpenTarget"
},
{
"name": "get_associated_drugs_by_target_ensemblID",
"description": "Get known drugs associated with a specific target Ensembl ID, including clinical trial phase and mechanism of action of the drugs.\nArgs:\n ensemblId: The Ensembl ID of the target.\n size: Number of entries to fetch.\n cursor: Cursor for pagination.\nQuery example: {\n \"ensemblId\": \"ENSG00000146648\",\n \"size\": 25\n}\nReturns:\n Dictionary containing known drugs, their clinical trial phases, mechanism of action, and associated diseases.",
"parameter": {
"type": "object",
"properties": {
"ensemblId": {
"type": "string",
"description": "The Ensembl ID of the target."
},
"size": {
"type": "integer",
"description": "Number of entries to fetch."
},
"cursor": {
"type": "string",
"description": "Cursor for pagination."
},
"required": [
"ensemblId",
"size"
]
}
},
"query_schema": "\n query targetKnownDrugs($ensemblId: String!, $size: Int!, $cursor: String) {\n target(ensemblId: $ensemblId) {\n id\n approvedSymbol\n knownDrugs(size: $size, cursor: $cursor) {\n count\n rows {\n drug {\n id\n name\n tradeNames\n maximumClinicalTrialPhase\n isApproved\n hasBeenWithdrawn\n }\n phase\n status\n mechanismOfAction\n disease {\n id\n name\n }\n }\n }\n }\n }\n ",
"label": [
"Target",
"Drug",
"MechanismsOfAction",
"Pagination",
"OpenTarget",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "get_associated_diseases_by_drug_chemblId",
"description": "Retrieve the list of diseases associated with a specific drug ChEMBL ID based on clinical trial data or post-marketed drugs.\nArgs:\n chemblId: The ChEMBL ID of the drug.\nQuery example: {\n \"chemblId\": \"CHEMBL135\"\n}\nReturns:\n Dictionary containing the drug's associated diseases with their IDs, names, and descriptions.",
"parameter": {
"type": "object",
"properties": {
"chemblId": {
"type": "string",
"description": "The ChEMBL ID of the drug."
},
"required": [
"chemblId"
]
}
},
"query_schema": "\n query fetchLinkedDiseasesForDrug($chemblId: String!) {\n drug(chemblId: $chemblId) {\n id\n name\n linkedDiseases {\n count\n rows {\n id\n name\n description\n }\n }\n }\n }\n ",
"label": [
"Drug",
"Disease",
"OpenTarget",
"Drug Information",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "get_associated_targets_by_drug_chemblId",
"description": "Retrieve the list of targets linked to a specific drug ChEMBL ID based on its mechanism of action.\nArgs:\n chemblId: The ChEMBL ID of the drug.\nQuery example: {\n \"chemblId\": \"CHEMBL135\"\n}\nReturns:\n Dictionary containing the drug's associated targets with their Ensembl IDs, approved symbols, and approved names.",
"parameter": {
"type": "object",
"properties": {
"chemblId": {
"type": "string",
"description": "The ChEMBL ID of the drug."
},
"required": [
"chemblId"
]
}
},
"query_schema": "\n query fetchLinkedTargetsForDrug($chemblId: String!) {\n drug(chemblId: $chemblId) {\n id\n name\n linkedTargets {\n count\n rows {\n id\n approvedSymbol\n approvedName\n }\n }\n }\n }\n ",
"label": [
"Drug",
"Target",
"MechanismsOfAction",
"OpenTarget",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "multi_entity_search_by_query_string",
"description": "Perform a multi-entity search based on a query string, filtering by entity names and pagination settings.\nArgs:\n queryString: The search string for querying information.\n entityNames: List of entity names to search for (e.g., target, disease, drug).\n page: Pagination settings with index and size.\nQuery example: {\n \"queryString\": \"inflammatory bowel disease\",\n \"entityNames\": [\"disease\"],\n \"page\": {\n \"index\": 0,\n \"size\": 5\n }\n}\nReturns:\n Dictionary containing search results with total hits and a list of entities matching the query.",
"parameter": {
"type": "object",
"properties": {
"queryString": {
"type": "string",
"description": "The search string for querying information."
},
"entityNames": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of entity names to search for (e.g., target, disease, drug)."
},
"page": {
"type": "object",
"properties": {
"index": {
"type": "integer",
"description": "Pagination index.",
"required": "True"
},
"size": {
"type": "integer",
"description": "Pagination size.",
"required": "True"
}
},
"description": "Pagination settings with index and size."
},
"required": [
"queryString"
]
}
},
"query_schema": "\n query multiEntitySearch($queryString: String!, $entityNames: [String!], $page: Pagination) {\n search(queryString: $queryString, entityNames: $entityNames, page: $page) {\n total\n hits {\n id\n entity\n description\n name\n score\n }\n }\n }\n ",
"label": [
"Search and Mapping Functions",
"MultiEntitySearch",
"Pagination",
"OpenTarget",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "get_gene_ontology_terms_by_goID",
"description": "Retrieve Gene Ontology terms based on a list of GO IDs.\nArgs:\n goIds: A list of Gene Ontology (GO) IDs to fetch the corresponding terms.\nQuery example: {\n \"goIds\": [\"GO:0006259\"]\n}\nReturns:\n Dictionary containing a list of Gene Ontology terms with their IDs and names.",
"parameter": {
"type": "object",
"properties": {
"goIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of Gene Ontology (GO) IDs to fetch the corresponding terms."
},
"required": [
"goIds"
]
}
},
"query_schema": "\n query fetchGeneOntologyTerms($goIds: [String!]!) {\n geneOntologyTerms(goIds: $goIds) {\n id\n name\n }\n }\n ",
"label": [
"GeneOntology",
"Data Retrieval and Aggregation",
"OpenTarget",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "get_target_constraint_info_by_ensemblID",
"description": "Retrieve genetic constraint information for a specific target Ensembl ID, including expected and observed values, and scores.\nArgs:\n ensemblId: The Ensembl ID of the target.\nQuery example: {\n \"ensemblId\": \"ENSG00000146648\"\n}\nReturns:\n Dictionary containing the target's genetic constraint information.",
"parameter": {
"type": "object",
"properties": {
"ensemblId": {
"type": "string",
"description": "The Ensembl ID of the target."
},
"required": [
"ensemblId"
]
}
},
"query_schema": "\n query targetConstraintInfo($ensemblId: String!) {\n target(ensemblId: $ensemblId) {\n id\n approvedSymbol\n geneticConstraint {\n constraintType\n exp\n obs\n oe\n oeLower\n oeUpper\n score\n upperBin\n upperBin6\n upperRank\n }\n }\n }\n ",
"label": [
"Target",
"Constraint",
"Data Retrieval and Aggregation",
"OpenTarget",
"GraphQL"
],
"type": "OpenTarget"
},
{
"name": "get_publications_by_disease_efoId",
"description": "Retrieve publications related to a disease EFO ID, including PubMed IDs and publication dates.\n\nArgs:\n entityId: The EFO ID of the disease.\n additionalIds: Optional list of additional IDs to include in the search.\n startYear: Optional year at the lower end of the filter.\n startMonth: Optional month at the lower end of the filter.\n endYear: Optional year at the higher end of the filter.\n endMonth: Optional month at the higher end of the filter.\n\n Query example: {\n \"entityId\": \"EFO_0003767\",\n \"startYear\": 2020\n}\n\nReturns:\n Dictionary containing publications related to the specified disease,\n including total count, filtered count, earliest publication year,\n and a list of rows, each with PubMed ID, PMC ID, publication date,\n and matched sentences containing entity mentions.",
"parameter": {
"type": "object",
"properties": {
"entityId": {
"type": "string",
"description": "The ID of the entity (efoId)."
},
"additionalIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of additional IDs to include in the search."
},
"startYear": {
"type": "integer",
"description": "Year at the lower end of the filter."
},
"startMonth": {
"type": "integer",
"description": "Month at the lower end of the filter."
},
"endYear": {
"type": "integer",
"description": "Year at the higher end of the filter."
},
"endMonth": {
"type": "integer",
"description": "Month at the higher end of the filter."
},
"required": [
"entityId"
]
}
},
"query_schema": "\n query entityPublications($entityId: String!, $additionalIds: [String!], $startYear: Int, $startMonth: Int, $endYear: Int, $endMonth: Int) {\n disease(efoId: $entityId) {\n id\n name\n literatureOcurrences(additionalIds: $additionalIds, startYear: $startYear, startMonth: $startMonth, endYear: $endYear, endMonth: $endMonth) {\n count\n filteredCount\n earliestPubYear\n rows {\n pmid\n pmcid\n publicationDate\n sentences {\n section\n matches {\n mappedId\n matchedLabel\n sectionStart\n sectionEnd\n startInSentence\n endInSentence\n matchedType\n }\n }\n }\n }\n }\n }\n ",
"label": [
"Publications",
"Data Retrieval and Aggregation",
"GraphQL",
"OpenTarget"
],
"type": "OpenTarget"
},
{
"name": "get_publications_by_target_ensemblID",
"description": "Retrieve publications related to a target Ensembl ID, including PubMed IDs and publication dates.\n\nArgs:\n entityId: The Ensembl ID of the target.\n additionalIds: Optional list of additional IDs to include in the search.\n startYear: Optional year at the lower end of the filter.\n startMonth: Optional month at the lower end of the filter.\n endYear: Optional year at the higher end of the filter.\n endMonth: Optional month at the higher end of the filter.\n\n Query example: {\n \"entityId\": \"ENSG00000146648\",\n \"endYear\": 2023\n}\n\nReturns:\n Dictionary containing publications related to the specified target,\n including total count, filtered count, earliest publication year,\n and a list of rows, each with PubMed ID, PMC ID, publication date,\n and matched sentences containing entity mentions.",
"parameter": {
"type": "object",
"properties": {
"entityId": {
"type": "string",
"description": "The ID of the entity (ensemblID)."
},
"additionalIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of additional IDs to include in the search."
},
"startYear": {
"type": "integer",
"description": "Year at the lower end of the filter."
},
"startMonth": {
"type": "integer",
"description": "Month at the lower end of the filter."
},
"endYear": {
"type": "integer",
"description": "Year at the higher end of the filter."
},
"endMonth": {
"type": "integer",
"description": "Month at the higher end of the filter."
},
"required": [
"entityId"
]
}
},
"query_schema": "\n query entityPublications($entityId: String!, $additionalIds: [String!], $startYear: Int, $startMonth: Int, $endYear: Int, $endMonth: Int) {\n target(ensemblId: $entityId) {\n id\n approvedSymbol\n literatureOcurrences(additionalIds: $additionalIds, startYear: $startYear, startMonth: $startMonth, endYear: $endYear, endMonth: $endMonth) {\n count\n filteredCount\n earliestPubYear\n rows {\n pmid\n pmcid\n publicationDate\n sentences {\n section\n matches {\n mappedId\n matchedLabel\n sectionStart\n sectionEnd\n startInSentence\n endInSentence\n matchedType\n }\n }\n }\n }\n }\n }\n ",
"label": [
"Publications",
"Data Retrieval and Aggregation",
"GraphQL",
"OpenTarget"
],
"type": "OpenTarget"
},
{
"name": "get_publications_by_drug_chemblId",
"description": "Retrieve publications related to a drug ChEMBL ID, including PubMed IDs and publication dates.\n\nArgs:\n entityId: The ChEMBL ID of the drug.\n additionalIds: Optional list of additional IDs to include in the search.\n startYear: Optional year at the lower end of the filter.\n startMonth: Optional month at the lower end of the filter.\n endYear: Optional year at the higher end of the filter.\n endMonth: Optional month at the higher end of the filter.\n\n Query example: {\n \"entityId\": \"CHEMBL135\",\n \"startYear\": 2020,\n \"endMonth\": 6\n}\n\nReturns:\n Dictionary containing publications related to the specified drug,\n including total count, filtered count, earliest publication year,\n and a list of rows, each with PubMed ID, PMC ID (if available), publication date,\n and matched sentences containing entity mentions.",
"parameter": {
"type": "object",
"properties": {
"entityId": {
"type": "string",
"description": "The ID of the entity (chemblId)."
},
"additionalIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of additional IDs to include in the search."
},
"startYear": {
"type": "integer",
"description": "Year at the lower end of the filter."
},
"startMonth": {
"type": "integer",
"description": "Month at the lower end of the filter."
},
"endYear": {
"type": "integer",
"description": "Year at the higher end of the filter."
},
"endMonth": {
"type": "integer",
"description": "Month at the higher end of the filter."
},
"required": [
"entityId"
]
}
},
"query_schema": "\n query entityPublications($entityId: String!, $additionalIds: [String!], $startYear: Int, $startMonth: Int, $endYear: Int, $endMonth: Int) {\n drug(chemblId: $entityId) {\n id\n name\n literatureOcurrences(additionalIds: $additionalIds, startYear: $startYear, startMonth: $startMonth, endYear: $endYear, endMonth: $endMonth) {\n count\n filteredCount\n earliestPubYear\n rows {\n pmid\n pmcid\n publicationDate\n sentences {\n section\n matches {\n mappedId\n matchedLabel\n sectionStart\n sectionEnd\n startInSentence\n endInSentence\n matchedType\n }\n }\n }\n }\n }\n }\n ",
"label": [
"Publications",
"Data Retrieval and Aggregation",
"GraphQL",
"OpenTarget"
],
"type": "OpenTarget"
},
{
"name": "get_target_id_description_by_name",
"description": "Get the Ensembl ID and description based on the target name.\nArgs:\n targetName: The name of the target for which the ID is required.\nQuery example: {\n \"targetName\": \"EGFR\"\n}\nReturns:\n Dictionary containing search results with hits including the Ensembl ID, name, and description of the target.",
"parameter": {
"type": "object",
"properties": {
"targetName": {
"type": "string",
"description": "The name of the target for which the ID is required."
},
"required": [
"targetName"
]
}
},
"query_schema": "\n query getTargetIdByName($targetName: String!) {\n search(queryString: $targetName, entityNames: [\"target\"]) {\n hits {\n id\n name\n description\n }\n }\n }\n ",
"label": [
"Search",
"Name",
"Target",
"OpenTarget",
"GraphQL"
],
"type": "OpenTarget"
}
]