Skip to content

Docs / All tools / Loop IV: Validation

validation.run.choose

Choose a different problem to assess.

Charged by the tools it calls. market.size.assess 800, icp.search 6 per company.

Example prompt

Send this to your AI app when Heelo is connected:

Assess the second problem of my validation run instead of the top one.

Input fields

FieldTypeDescription
run_idRequiredstring
problem_idRequiredstringA problem id from the run's problems

Code

The call with the input fields that the tool needs. Replace each word in capitals, such as RUN_ID. Set HEELO_API_KEY to your API key.

import os
import requests

response = requests.post(
    "https://toolsprimitives.uk/v1/tools/validation.run.choose/invoke",
    headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
    json={"input": {
        "run_id": "RUN_ID",
        "problem_id": "PROBLEM_ID",
    }},
    timeout=120,
)
response.raise_for_status()
print(response.json())