I am aware that the basic grammar pattern of a sentence is
subject + predicate + object, where object is optional.
In this sentence,
I want a cup of tea
"I" is a personal pronoun, which functions as a subject; "want" is a verb, which functions as a predicate; "a cup of tea" is a noun phrase, which functions as an object.
So far so good.
Consider another sentence,
He works as an architect.
"He" is a personal pronoun, which functions as a subject; "want" is a verb, which functions as a predicate.
How about the last part? Could someone please give a hint? Thanks in advance.
Note: I understand the sentence conveys someone's occupation, what does he do for a living, and that is NOT what I am asking. I am asking about its grammatical function and analysis.
Similar to "subject", "predicate", what is the term (or canonical name) to describe the component of a sentence that "as an architect" functions as? Obviously, it is not an "object".