# `semantic.unknown_callee`

Called name is not declared.

Area 1, [Project layout and modules](../topics/project-layout-and-modules.md); not declinable; the next step is usually the agent's.

```jadpo
type Count = Int {
    min: 0
}

function f(x: Count) -> Count {
    return lookup(x)
}
```

```text
error: `lookup` isn't a function, action or query
 --> main.jadpo:6:12
  |
6 |     return lookup(x)
  |            ^^^^^^ not declared
  reason: Nothing in this project called `lookup` can be called.
  next: Declare `lookup`, or call an existing function (agent)
  rule: semantic.unknown_callee
  help: https://jadpo.dev/docs/errors/semantic.unknown_callee

check failed: 1 error, 1 file
```
