Intelligence · function

validateIntent

Whether an intent is internally coherent.

Explained in Agents and behaviour.

function validateIntent(intent: Intent): IntentCheck
import { validateIntent } from '@driftengine/ai';

Parameters

ParameterTypeDescription
intentIntent

In depth

Only the pairing of tools to arguments, because that is the one an intent can get wrong on its own. Whether the tools exist is the registry's question and whether the call is permitted is the policy's; asking all three here would put three failures behind one message.