Can I update fields with the @id directive?

That is a different question entirely.

That is the same think as just $input.userId. The args are automatically passed to the lambda function like so:

async function newPost({args, dql, authHeader}) {

Either the event object in a lambda webhook, or the args object in a lambda mutation.

Here is a full example of a lambda mutation.

J